blockly > Procedures > isProcedureBlock
Procedures.isProcedureBlock() function
A type guard which checks if the given block is a procedure block.
Signature:
export declare function isProcedureBlock(block: Block | IProcedureBlock): block is IProcedureBlock;
Parameters
Parameter | Type | Description |
---|---|---|
block | Block | IProcedureBlock |
Returns:
block is IProcedureBlock