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

Function isString

packages/effect/src/Predicate.ts:556–558  ·  view source on GitHub ↗
(input: unknown)

Source from the content-addressed store, hash-verified

554 * @since 2.0.0
555 */
556export function isString(input: unknown): input is string {
557 return typeof input === "string"
558}
559
560/**
561 * Checks whether a value is a `number`.

Callers 5

toStringFunction · 0.90
Stream.tsFile · 0.90
effect.tsFile · 0.90
isPropertyKeyFunction · 0.70
isIterableFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected