getIncrementedName
See source codeGet an incremented name (e.g. New page (2)) from a name (e.g. New page), based on an array of existing names.
function getIncrementedName(name: string, others: string[]): string
Parameters
Name | Description |
---|---|
|
The name to increment. |
|
The array of existing names. |
Returns
string
Prev
getFreshUserPreferencesNext
getPerfectDashProps