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

Function isPath

packages/effect/src/Config.ts:917–917  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

915}
916
917const isPath = (u: unknown): u is string | Path => Predicate.isString(u) || globalThis.Array.isArray(u)
918
919// -----------------------------------------------------------------------------
920// constructors

Callers 2

ArrayFunction · 0.85
RecordFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected