Skip to content

Functions Predicate

Jason Barr edited this page Sep 22, 2021 · 3 revisions

A collection of predicate functions for interrogating types and other tasks.

The Functions

  • allFuncs - see if an array contains all functions
  • eq - see if two values are equal
  • gt - see if the first is greater than the second
  • gte - see if the first is greater than or equal to the second
  • hasNullProto
  • is
  • isApplicative
  • isArray
  • isBifunctor
  • isBigInt
  • isBool
  • isDate
  • isDict
  • isFinite
  • isFloat
  • isFrozen
  • isFunction
  • isFunctor
  • isInt
  • isIterable
  • isMap
  • isMonad
  • isNegative
  • isNil - check if null or undefined
  • isNullish - check if null, undefined, or NaN
  • isNumber
  • isObject - screens out null as well as Maps, Sets, Dates, and RegExps
  • isPositive
  • IsRegExp
  • isSafeInt
  • isSealed
  • isSet - check if a value is a Set
  • isString
  • isSymbol
  • isZero
  • lt - check if the first is less than the second
  • lte - check if the first is less than or equal to the second
  • ne - check if two values are not equal
  • propertyIsEnumerable
Clone this wiki locally