charton API / @chart-on/ui / index / templateNameTaken
Function: templateNameTaken()
templateNameTaken(
names,name,current?):boolean
Defined in: ui/src/template-name.ts:41
Whether name is in names other than as current; names compare without case, so "Trend" and "trend" are one template.
Parameters
names
readonly string[]
name
string
current?
string = ''
Returns
boolean