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

Function getPathType

packages/effect/src/unstable/cli/Primitive.ts:991–992  ·  view source on GitHub ↗
(primitive: Primitive<unknown>)

Source from the content-addressed store, hash-verified

989
990/** @internal */
991export const getPathType = (primitive: Primitive<unknown>): PathType | undefined =>
992 primitive._tag === "Path" ? (primitive as any).pathType : undefined

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected