Skip to main content

linear.numbercomparator

Home > @runlightyear/linear > NumberComparator

NumberComparator interface

Signature:
interface NumberComparator 

Optional Properties

PropertyModifiersTypeDescription
eq?numberEquals constraint.
gt?numberGreater-than constraint. Matches any values that are greater than the given value.
gte?numberGreater-than-or-equal constraint. Matches any values that are greater than or equal to the given value.
in?Array<number>In-array constraint.
lt?numberLess-than constraint. Matches any values that are less than the given value.
lte?numberLess-than-or-equal constraint. Matches any values that are less than or equal to the given value.
neq?numberNot-equals constraint.
nin?Array<number>Not-in-array constraint.