Skip to content

isPlainObject

Return true if the given value is a plain object.

Usage

isPlainObject({}); // => true
isPlainObject(new Map()); // => false

Installation

Terminal window
npx atmx add helper is-plain-object