Skip to main content

blockly > CommentEditorNavigationPolicy > isApplicable

CommentEditorNavigationPolicy.isApplicable() method

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

Signature:

isApplicable(current: any): current is CommentEditor;

Parameters

Parameter

Type

Description

current

any

The object to check if this policy applies to.

Returns:

current is CommentEditor

True if the object is a CommentEditor.