Skip to main content

isPojo()

isPojo(obj: any): obj is Record<string, any>

Determines if a variable is a plain old JavaScript object, aka POJO.

Parameters

ParameterType
objany

Returns

obj is Record<string, any>

Defined in

packages/react-querybuilder/src/utils/misc.ts:15


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.