mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 00:35:02 +00:00
Add upper function
This commit is contained in:
parent
bb06c5ee33
commit
b1c51e7316
1 changed files with 4 additions and 0 deletions
|
@ -312,6 +312,10 @@ const baseValues = {
|
||||||
if (typeof arg !== "string") return arg;
|
if (typeof arg !== "string") return arg;
|
||||||
return arg.toLowerCase();
|
return arg.toLowerCase();
|
||||||
},
|
},
|
||||||
|
upper(arg) {
|
||||||
|
if (typeof arg !== "string") return arg;
|
||||||
|
return arg.toUpperCase();
|
||||||
|
},
|
||||||
rand(from, to, seed = null) {
|
rand(from, to, seed = null) {
|
||||||
if (isNaN(from)) return 0;
|
if (isNaN(from)) return 0;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue