Skip to main content

objectEntries

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

Defined in: packages/core/src/utils/objectUtils.ts:27

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>]][]


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.