Skip to main content

Function: isProcessable()

isProcessable(value): value is Processable<any, any>

Defined in: packages/core/src/processable.ts:36

True for a Processable, including a callable one.

process is the member that makes something runnable as a node, and the one a plain function does not have. A callable Processable (step(), anything through makeCallable) is also a function, so this is asked before typeof === 'function', never after.

Parameters​

value​

unknown

Returns​

value is Processable<any, any>