Skip to content

isObject

isObject(dataValue) ⇒ boolean

Check if value is Object

Kind: global function

ParamTypeDescription
dataValueobjectinput value

Example

js
import isObject from '@hiperf/validate/isObject';

isObject({name: 'John'}); // true
isObject('John'); // false