-
Notifications
You must be signed in to change notification settings - Fork 0
Functions Predicate
Jason Barr edited this page Sep 22, 2021
·
3 revisions
A collection of predicate functions for interrogating types and other tasks.
-
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 hasNullProtoisisApplicativeisArrayisBifunctorisBigIntisBoolisDateisDictisFiniteisFloatisFrozenisFunctionisFunctorisIntisIterableisMapisMonadisNegative-
isNil- check ifnullorundefined -
isNullish- check ifnull,undefined, orNaN isNumber-
isObject- screens outnullas well as Maps, Sets, Dates, and RegExps isPositiveIsRegExpisSafeIntisSealed-
isSet- check if a value is a Set isStringisSymbolisZero-
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