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

Function endsWith

packages/effect/src/String.ts:504–505  ·  view source on GitHub ↗
(searchString: string, position?: number)

Source from the content-addressed store, hash-verified

502 * @since 2.0.0
503 */
504export const endsWith = (searchString: string, position?: number) => (self: string): boolean =>
505 self.endsWith(searchString, position)
506
507/**
508 * Returns the character code at the specified index safely, or `None` if the index is out of bounds.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected