Skip to main content

trimIfString()

trimIfString(val: any): any

Defined in: packages/core/src/utils/arrayUtils.ts:49

Trims the value if it is a string. Otherwise returns the value as is.

Parameters

ParameterType
valany

Returns

any


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.