trimmed
consttrimmed: <S>(annotations?) => <A>(self) =>filter<S>
Defined in: node_modules/.pnpm/effect@3.15.2/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
Section titled “Type Parameters”S extends Any
Parameters
Section titled “Parameters”annotations?
Section titled “annotations?”Returns
Section titled “Returns”<
A>(self):filter<S>
Type Parameters
Section titled “Type Parameters”A extends string
Parameters
Section titled “Parameters”S & Schema<A, Encoded<S>, Context<S>>
Returns
Section titled “Returns”filter<S>
3.10.0