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

Function startsWith

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

Source from the content-addressed store, hash-verified

484 * @since 2.0.0
485 */
486export const startsWith = (searchString: string, position?: number) => (self: string): boolean =>
487 self.startsWith(searchString, position)
488
489/**
490 * Returns `true` if the string ends with the specified search string.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected