isUnsafeKey()
isUnsafeKey(
key:unknown):boolean
Defined in: packages/core/src/utils/objectUtils.ts:35
Returns true if the key could cause prototype pollution when used
as a property name in bracket-notation assignment.
Parameters
| Parameter | Type |
|---|---|
key | unknown |
Returns
boolean
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.