Skip to main content

Home > blockly > Procedures > getCallers

Procedures.getCallers() function

Find all the callers of a named procedure.

Signature:

export declare function getCallers(name: string, workspace: Workspace): Block[];

Parameters

ParameterTypeDescription
namestringName of procedure.
workspaceWorkspaceThe workspace to find callers in.

Returns:

Block[]

Array of caller blocks.