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

Function isWellFormed

packages/effect/src/String.ts:479–480  ·  view source on GitHub ↗
(self: string)

Source from the content-addressed store, hash-verified

477 * @since 4.1.5
478 */
479export const isWellFormed = (self: string): boolean =>
480 (self as WellFormedNative).isWellFormed?.() ?? !loneSurrogate.test(self)
481
482/**
483 * Checks whether a string contains at least one non-whitespace character.

Callers 3

searchInvalidFunction · 0.90
isNameFunction · 0.90
toWellFormedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected