Skip to main content

Type Helpers

Utility functions for working with types.

Functions

FunctionDescription
isEmptyChecks if a value is empty.
isSpecialObjectDetermines if a value is a special object that should not have its properties compared deeply.
isSetChecks if a value is set (not undefined nor null)
isStringChecks if a value is a string
isNumberChecks if a value is a number
isBooleanChecks if a value is a boolean
isArrayChecks if a value is an array
isObjectChecks if a value is a plain object
isFunctionChecks if a value is a function
isDateChecks if a value is a Date
isValidRegexChecks if a string is a valid regex