Skip to main content

Home > blockly > WorkspaceNavigationPolicy > isApplicable

WorkspaceNavigationPolicy.isApplicable() method

Returns whether the given object can be navigated from by this policy.

Signature:

isApplicable(current: any): current is WorkspaceSvg;

Parameters

ParameterTypeDescription
currentanyThe object to check if this policy applies to.

Returns:

current is WorkspaceSvg

True if the object is a WorkspaceSvg.