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

Function isSingle

packages/effect/src/unstable/cli/Param.ts:310–312  ·  view source on GitHub ↗
(
  param: Param<Kind, A>
)

Source from the content-addressed store, hash-verified

308 * @since 4.0.0
309 */
310export const isSingle = <const Kind extends ParamKind, A>(
311 param: Param<Kind, A>
312): param is Single<Kind, A> => Predicate.isTagged(param, "Single")
313
314/**
315 * Type guard to check if a Single param is a flag (not an argument).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected