Add ucfirst as an alias for tag function upperFirst
This commit is contained in:
parent
8846a016ab
commit
54b1ea8053
1 changed files with 3 additions and 0 deletions
|
@ -320,6 +320,9 @@ const baseValues = {
|
|||
if (typeof arg !== "string") return arg;
|
||||
return arg.charAt(0).toUpperCase() + arg.slice(1);
|
||||
},
|
||||
ucfirst(arg) {
|
||||
return baseValues.upperFirst(arg);
|
||||
},
|
||||
rand(from, to, seed = null) {
|
||||
if (isNaN(from)) return 0;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue