object/isObject

Checks whether a value is an object.

Source:

Methods

(static) isObject(value) → {boolean}

Source:
Example
import { isObject } from '@untemps/utils/object/isObject'

isObject({}) // true
isObject(42) // false
Parameters:
Name Type Description
value *

The value to check.

Returns:

true whether the value is an object.

Type
boolean