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

Function substring

packages/effect/src/String.ts:546–546  ·  view source on GitHub ↗
(start: number, end?: number)

Source from the content-addressed store, hash-verified

544 * @since 2.0.0
545 */
546export const substring = (start: number, end?: number) => (self: string): string => self.substring(start, end)
547
548/**
549 * Returns the character at the specified relative 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