coerceBigIntValue()
coerceBigIntValue(
value:unknown,parseNumberMethod?:ParseNumberMethod):unknown
Defined in: packages/core/src/utils/deriveValueEditor.ts:112
Coerces a value to a bigint, falling back to the parsed number when it can't be represented
as one (an empty string or a decimal, for example).
Parameters
| Parameter | Type |
|---|---|
value | unknown |
parseNumberMethod? | ParseNumberMethod |
Returns
unknown
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.