UNPKG

typia

Version:

Superfast runtime validators with only one line

6 lines 325 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.__notationCapitalize = void 0; const __notationCapitalize = (str) => str.length ? str[0].toUpperCase() + str.slice(1).toLowerCase() : str; exports.__notationCapitalize = __notationCapitalize; //# sourceMappingURL=__notationCapitalize.js.map