Hacker News new | ask | show | jobs
by usrbinenv 82 days ago
Yeah, I get the reaction. It's not JavaScript, it's simply a way to reference a matcher for the value, not match against literal value. You can totally use your custom matcher like this:

    total: (c,v) => v > 1000
See the docs: https://qitejs.qount25.dev/States/Field-Matchers.html