trimmed
trimmed<
S
>(annotations
?): <A
>(self
) =>filter
<S
>
Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/Schema.d.ts:2284
Verifies that a string contains no leading or trailing whitespaces.
Note. This combinator does not make any transformations, it only validates.
If what you were looking for was a combinator to trim strings, then check out the trim
combinator.
Type Parameters
• S extends Any
Parameters
annotations?
Returns
Function
Type Parameters
• A extends string
Parameters
self
S
& Schema
<A
, Encoded
<S
>, Context
<S
>>
Returns
filter
<S
>
Since
3.10.0