outsideRange()
Function in Builtins
Out-of-range predicate: x < lo || x > hi.
import { outsideRange } from 'typeshade'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
Syntax
const outsideRange: ( x: ReadonlyNode<ScalarKey>, lo: ReadonlyNode<ScalarKey> | number, hi: ReadonlyNode<ScalarKey> | number,) => Node<"bool">Parameters
xReadonlyNode<ScalarKey>loReadonlyNode<ScalarKey> | numberhiReadonlyNode<ScalarKey> | number
Return value
Node<'bool'>
Source
src/core/ir/node.ts, line 2783, at commit 26de7be8