Public function

Get an incremented name (e.g. New page (2)) from a name (e.g. New page), based on an array of existing names.

Signature
function getIncrementedName(name: string, others: string[]): string
Parameters
NameDescription

name

string

The name to increment.

others

string[]

The array of existing names.

Returns
string
Source

packages/editor/src/lib/utils/getIncrementedName.ts

getFreshUserPreferencesgetPointerInfo