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