effect-io-ai

Package: @effect/platform
Module: Command

Command.flatten

Flatten this command to a non-empty array of standard commands.

For a StandardCommand, this simply returns a 1 element array For a PipedCommand, all commands in the pipe will be extracted out into a array from left to right

Signature

declare const flatten: (self: Command) => NonEmptyReadonlyArray<StandardCommand>

Source

Since v1.0.0