Skip to main content

objectEntries()

objectEntries<Type>(value: Type): [Exclude<keyof Type, symbol>, Type[Exclude<keyof Type, symbol>]][]

A strongly-typed version of Object.entries().

Original source

Type Parameters

Type Parameter
Type extends Record<PropertyKey, unknown>

Parameters

ParameterType
valueType

Returns

[Exclude<keyof Type, symbol>, Type[Exclude<keyof Type, symbol>]][]

Defined in

packages/react-querybuilder/src/utils/objectUtils.ts:27


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.