Skip to content

@graphty/graphty-element / session / isAlgorithmRunCommand

Function: isAlgorithmRunCommand() ​

isAlgorithmRunCommand(value): value is AlgorithmRunCommand

Defined in: graphty-element/src/session/planning.ts:106

Tell whether a value is the command that starts an algorithm.

Parameters ​

value ​

unknown

The value to test.

Returns ​

value is AlgorithmRunCommand

True when it is an algo.run command.