Skip to main content

blockly > CommentBarButtonNavigationPolicy > isApplicable

CommentBarButtonNavigationPolicy.isApplicable() method

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

Signature:

isApplicable(current: any): current is CommentBarButton;

Parameters

Parameter

Type

Description

current

any

The object to check if this policy applies to.

Returns:

current is CommentBarButton

True if the object is an CommentBarButton.