Skip to main content

$isNodeSelection

function

Returns true if the given value is a NodeSelection.

function $isNodeSelection(x: unknown): x is NodeSelection

Import

import { $isNodeSelection } from '@modular/sdk/editor';