Skip to main content

nullFreeArray()

nullFreeArray<T>(arr: T[]): arr is Exclude<T, null>[]

Defined in: packages/react-querybuilder/src/utils/arrayUtils.ts:74

Determines if an array is free of null/undefined.

Type Parameters

Type Parameter
T

Parameters

ParameterType
arrT[]

Returns

arr is Exclude<T, null>[]


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.