Methods

static

isarr(value) → boolean

[Global] Checks if a value is an array (alias for Array.isArray)

Parameter

Name Type Optional Description

value

any

 

Value to check

Returns

boolean 

static

isbool(value) → boolean

[Global] Checks if a value is a boolean

Parameter

Name Type Optional Description

value

any

 

Value to check

Returns

boolean 

static

isfunc(value) → boolean

[Global] Checks if a value is a function

Parameter

Name Type Optional Description

value

any

 

Value to check

Returns

boolean 

static

isint(value) → boolean

[Global] Same as the built in Number.isInteger

Parameter

Name Type Optional Description

value

any

 

Value to check

Returns

boolean 

static

isiter(value) → boolean

[Global] Checks if a type is iterable

Parameter

Name Type Optional Description

value

any

 

Value to check

Returns

boolean 

static

isnum(value) → boolean

[Global] Checks if a value is a number or a big int

Parameter

Name Type Optional Description

value

any

 

Value to check

Returns

boolean 

static

isobj(value) → boolean

[Global] Checks if a value is an object

Parameter

Name Type Optional Description

value

any

 

Value to check

Returns

boolean 

static

isstr(value) → boolean

[Global] Checks if a value is a string

Parameter

Name Type Optional Description

value

any

 

Value to check

Returns

boolean 

static

type(value) → boolean

[Global] Gets the type of a value using typeof

Parameter

Name Type Optional Description

value

any

 

Value to get the type of

Returns

boolean