Skip to content

five-on-it / apps/tools/src/level-files / assertLevelName

Function: assertLevelName() ​

assertLevelName(name, what?): void

Defined in: apps/tools/src/level-files.ts:41

Throws unless name follows the naming convention; what is the thing named, for the message.

Parameters ​

name ​

string

what? ​

string = 'level'

Returns ​

void