MCPcopy Create free account
hub / github.com/Effect-TS/effect / trimEnd

Function trimEnd

packages/effect/src/String.ts:359–359  ·  view source on GitHub ↗
(self: A)

Source from the content-addressed store, hash-verified

357 * @since 2.0.0
358 */
359export const trimEnd = <A extends string>(self: A): TrimEnd<A> => self.trimEnd() as TrimEnd<A>
360
361/**
362 * Extracts a section of a string and returns it as a new string.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected