Module: utils/types

Methods

(static) isBoolean(b) → {boolean}

Parameters:
Name Type Description
b
Source:
Returns:
Type
boolean

(static) isFunction(f) → {boolean}

Simple check to determine if something is a function.
Does not cover if function is sync or async.

Parameters:
Name Type Description
f any
Source:
Returns:
Type
boolean

(static) isObject(o) → {boolean}

Parameters:
Name Type Description
o
Source:
Returns:
Type
boolean