R
fn

isCollapsed

tested

Whether the selection is a collapsed caret.

Signature

ts
export function isCollapsed(sel: Selection): boolean{ ... }

Parameters

ParameterTypeDescription
selSelection

Returns

boolean