Wordstypeno test imports ittype Words = readonly string[];The words of a name, lower case, in order.
Names (commons data 0005-naming): a name in governance is a TypeScript identifier, lower camel case, and says nothing of a database. It crosses the layers as a list of words, which words makes and nothing else does: the logical schema chooses the words of each element of a relational schema, and the physical schema writes them in the case style of its target.
words("givenName"); // ["given", "name"]
words("line1"); // ["line", "1"]
words("HTTPServer"); // ["http", "server"]Wordstypeno test imports ittype Words = readonly string[];The words of a name, lower case, in order.
NAMEconstconst NAME: RegExpA name of governance: lower camel case, a letter first and then letters and digits.
wordsfunctionfunction words(name: string): WordsThe lower-case words of a name: split where lower case turns upper, around digits, and at the end of a run of capitals.
| Parameter | What it is |
|---|---|
name | a name of governance |
Returns: its words, lower case, in order; one word at least for a valid name