@univerjs/core v0.5.0-beta.1 • 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
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/name.ts:27