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

Function isCommand

packages/effect/src/unstable/process/ChildProcess.ts:528–528  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

526 * @since 4.0.0
527 */
528export const isCommand = (u: unknown): u is Command => Predicate.hasProperty(u, TypeId)
529
530/**
531 * Checks whether a command is a `StandardCommand`.

Callers 2

ChildProcess.tsFile · 0.70
prefixFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected