Function
Static Public Summary | ||
public |
isFunction(obj: *): boolean Checks that a given object is a function. |
|
public |
isPlainObject(obj: *): boolean Checks that a given object is a plain object. |
|
public |
Checks that a given object is a string. |
Static Public
public isFunction(obj: *): boolean source
import {isFunction} from 'test-rest/src/utils/validators.js'
Checks that a given object is a function.
Params:
Name | Type | Attribute | Description |
obj | * | The object to check. |
public isPlainObject(obj: *): boolean source
import {isPlainObject} from 'test-rest/src/utils/validators.js'
Checks that a given object is a plain object.
Params:
Name | Type | Attribute | Description |
obj | * | The object to check. |
public isString(obj: *): boolean source
import {isString} from 'test-rest/src/utils/validators.js'
Checks that a given object is a string.
Params:
Name | Type | Attribute | Description |
obj | * | The object to check. |