trimIfString()
trimIfString(
val
:any
):any
Trims the value if it is a string. Otherwise returns the value as is.
Parameters
Parameter | Type |
---|---|
val | any |
Returns
any
Defined in
packages/react-querybuilder/src/utils/arrayUtils.ts:49
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.