Trim<V>
Trim<
V
> =TrimLeft
<TrimRight
<V
>>
Defined in: packages/react-querybuilder/src/types/type-fest/trim.ts:26
Remove leading and trailing spaces from a string.
Type Parameters
Type Parameter |
---|
V extends string |
Example
import type {Trim} from 'type-fest';
Trim<' foo '>
//=> 'foo'
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.