Skip to main content
Version: 1.0.29-alpha

validateBound

operator

tableRow

VariableDescription
Nnumber literal
Ssized data (a number, string or array)
<Comparator (one of <, <=, ==, >=, >)

description

  • Bound operators allow data to be bounded in the format "S<N", or as a Range: "N<S<N", with comparators restricted to < or <=

string

  • "N<S<N", with comparators restricted to < or <=
  • const range = type("2<=number<5")
  • const bound = type("string[]==5")