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

Function isCommand

packages/effect/src/unstable/cli/Command.ts:526–526  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

524 * @since 4.0.0
525 */
526export const isCommand = (u: unknown): u is Command.Any => Predicate.hasProperty(u, TypeId)
527
528/* ========================================================================== */
529/* Constructors */

Callers 2

Command.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected