Skip to main content

blockly > WorkspaceCommentNavigationPolicy > isNavigable

WorkspaceCommentNavigationPolicy.isNavigable() method

Returns whether or not the given workspace comment can be navigated to.

Signature:

isNavigable(current: RenderedWorkspaceComment): boolean;

Parameters

Parameter

Type

Description

current

RenderedWorkspaceComment

The instance to check for navigability.

Returns:

boolean

True if the given workspace comment can be focused.