eo-typewriterjs / normalizeCursors
Function: normalizeCursors()
ts
function normalizeCursors(selector): readonly string[];Defined in: core/commands/helpers/normalize-cursors.helper.ts:14
Parameters
| Parameter | Type | Description |
|---|---|---|
selector | TCursorSelector | The cursor selector to normalize |
Returns
readonly string[]
An ordered array of cursor id strings
Description
Normalize a TCursorSelector into an ordered array of cursor ids. A string selector becomes a single-element array. An array selector is returned as-is.