Skip to content

Interface: LocalCommandCheckNode<THandle> ​

Defined in: core/dist/ast/domain/local-command-check-node.d.ts:11

Passive AST node adapting a LocalCommandNode into a deterministic CheckASTNode (cmd.asCheck()).

Executes the underlying command inside the active isolation scope and reports a passing check when the subprocess exits with status code 0.

Extends ​

Type Parameters ​

Type ParameterDefault typeDescription
THandleunknownIsolation scope handle type.

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
__handleBrand?readonlyBivariantCallback<[handle: THandle], void>Phantom type brand binding the check to its compatible scope handle type.BaseCheckASTNode.__handleBrandcore/dist/ast/base/base-check-ast-node.d.ts:17
commandreadonlyLocalCommandNode<unknown, unknown, THandle>Underlying one-shot command node executed by the check.-core/dist/ast/domain/local-command-check-node.d.ts:13
idreadonlystringLogical identifier of the check instance.BaseCheckASTNode.idcore/dist/ast/base/base-check-ast-node.d.ts:15
typereadonly"node:command-check"Unique string-literal discriminant of the check node.BaseCheckASTNode.typecore/dist/ast/base/base-check-ast-node.d.ts:13

Released under the MIT License.