Skip to content

@technobuddha > library > Object

Type Guards

NameTypeDescription
isArrayLikeFunctionDetermines whether the provided value is array-like.
isBooleanFunctionDetermines whether the provided value is a boolean or a Boolean object.
isDateFunctionDetermines whether the provided value is a Date object.
isFunctionFunctionDetermines whether the provided value is a function.
isIterableFunctionDetermines if the provided object is iterable.
isIteratorFunctionDetermines whether the provided object conforms to the Iterator interface.
isNumberFunctionDetermines whether the provided value is a number or a Number object.
isObjectFunctionDetermines whether the provided value is a non-null object.
isPrimitiveFunctionCheck to see if an object is a primitive
isRegExpFunctionDetermines whether the provided value is a RegExp object.
isStringFunctionDetermines whether the provided value is a string.