@univerjs/core v0.4.2 • Docs
Function: nameCharacterCheck()
function nameCharacterCheck(name): boolean
The name you entered for the worksheet or chart is invalid. Please ensure:
The name is no more than 31 characters. The first and last characters cannot be ' The name does not contain any of the following characters: : \ / ? * [ or ]. The name is not empty.
Parameters
Parameter | Type |
---|---|
name | string |
Returns
boolean
Defined in
submodules/univer/packages/core/src/shared/name.ts:27 (opens in a new tab)