isPlainObject

Type:Function
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.is

Check if the passed object (or array of objects) is/are plain object(s)

Params

  1. object*-Object|Array

    The object(s) to check

Return

  1. -Boolean

    true if is plain object(s), false if not

Example

import { isPlainObject } from '@blackbyte/sugar/is';
isPlainObject({ hello: 'world'}); // => true

Todo

  • testsnormal