Skip to content

Function: isPlainObject() ​

ts
function isPlainObject(value): value is Record<string, unknown>;

Defined in: core/src/paths/value-tree.ts:7

Whether a value is an object whose prototype is Object or null. Paths walk only such objects and arrays, and compare them by their contents. Any other object, such as a File or a class instance, is a value of its own.

Parameters ​

ParameterType
valueunknown

Returns ​

value is Record<string, unknown>

Released under the MIT License.