is
is copied to clipboard
`is.const()` and `assert.const()`
Maybe it is already here under a different name but I want to assert that a value is a specific value (strict equals).
e.g.
// formula.type is "number" | "string"
assert.const(formula.type, "number");
// formula.type is now narrowed down to "number"