Global
Members
-
arguments
Test if 'value' is an arguments object.
Alias: args
-
- Source:
-
array.empty
Test if 'value' is an empty array(like) object.
Aliases: arguents.empty, args.empty, ary.empty, arry.empty
-
- Source:
-
array
Test if 'value' is an array.
Alias: ary, arry
-
- Source:
-
arrayLike
Test if 'value' is an arraylike object (i.e. it has a length property with a valid value)
Aliases: arraylike, arryLike, aryLike
-
- Source:
-
boolean
Test if 'value' is a boolean.
Alias: bool
-
- Source:
-
date
Test if 'value' is a date.
-
- Source:
-
decimal
Test if 'value' is a decimal number.
Aliases: decimalNumber, decNum
-
- Source:
-
defined
Test if 'value' is defined.
Alias: def
-
- Source:
-
divisibleBy
Test if 'value' is divisible by 'n'.
Alias: divisBy
-
- Source:
-
empty
Test if 'value' is empty. To be empty means to be an array, object or string with nothing contained.
-
- Source:
-
equal
Test if 'value' is equal to 'other'. Works for objects and arrays and will do deep comparisions,
using recursion.
Alias: eq
-
- Source:
-
error
Test if 'value' is an error object.
Alias: err
-
- Source:
-
even
Test if 'value' is an even number.
-
- Source:
-
false
Test if 'value' is false.
-
- Source:
-
function
Test if 'value' is a function.
Alias: func
-
- Source:
-
ge
Test if 'value' is greater than or equal to 'other'.
Aliases: greaterOrEq, greaterOrEqual
-
- Source:
-
gt
Test if 'value' is greater than 'other'.
Aliases: greaterThan
-
- Source:
-
hosted
Test if 'key' in host is an object. To be hosted means host[value] is an object.
-
- Source:
-
instanceOf
Test if 'value' is an instance of 'constructor'.
Aliases: instOf, instanceof
-
- Source:
-
int
Test if 'value' is an integer.
Alias: integer
-
- Source:
-
le
Test if 'value' is less than or equal to 'other'.
Alias: lessThanOrEq, lessThanOrEqual
-
- Source:
-
<constant> Library version.
-
- Source:
-
lt
Test if 'value' is less than 'other'.
Alias: lessThan
-
- Source:
-
maximum
Test if 'value' is greater than 'others' values.
Alias: max
-
- Source:
-
minimum
Test if 'value' is less than 'others' values.
Alias: min
-
- Source:
-
nan
Test if 'value' is not a number.
Alias: notANumber, notANum
-
- Source:
-
negativeInt
Test if 'value' is a negative integer.
Aliases: negInt, negativeInteger
-
- Source:
-
negativeNumber
Test if 'value' is a negative number.
Aliases: negNum, negativeNum
-
- Source:
-
nonEmptyArray
Test if 'value' is an array containing at least 1 entry.
Aliases: nonEmptyArry, nonEmptyAry
-
- Source:
-
nonEmptyObject
Test if 'value' is an object with properties. Note: Arrays are objects.
Alias: nonEmptyObj
-
- Source:
-
nonEmptyStr
Test if 'value' is a non-empty string.
Alias: nonEmptyStr
-
- Source:
-
null
Test if 'value' is null.
-
- Source:
-
nullOrUndefined
Test is 'value' is either null or undefined.
Alias: nullOrUndef
-
- Source:
-
number
Test if 'value' is a number.
Alias: num
-
- Source:
-
object
Test if 'value' is an object. Note: Arrays, RegExps, Date, Error, etc all return false.
Alias: obj
-
- Source:
-
objectInstanceOf
Test if 'value' is an instance type objType.
Aliases: objInstOf, objectinstanceof
-
- Source:
-
odd
Test if 'value' is an odd number.
-
- Source:
-
positiveInt
Test if 'value' is a positive integer.
Alias: posInt
-
- Source:
-
positiveNumber
Test if 'value' is a positive number.
Alias: positiveNum, posNum
-
- Source:
-
regExp
Test if 'value' is a regular expression.
Alias: regexp
-
- Source:
-
str
Test if 'value' is a string.
Alias: str
-
- Source:
-
true
Test if 'value' is true.
-
- Source:
-
type
Test if 'value' is a type of 'type'.
Alias: a
-
- Source:
-
undefined
Test if 'value' is undefined.
Aliases: undef, udef
-
- Source:
-
within
Test if 'value' is within 'start' and 'finish'.
Alias: withIn
-
- Source: