3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

alias get_snowflake

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Tiago R 2023-10-09 12:01:32 +00:00 committed by GitHub
parent 13565e2a7a
commit 032e552f6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -557,6 +557,11 @@ const baseValues = {
if (!str || typeof str !== "string") return "";
return str.replaceAll(/[^\d]+/g, "");
},
get_snowflake(str) {
// couldn't find a better way of aliasing :(
if (!str || typeof str !== "string") return "";
return str.replaceAll(/[^\d]+/g, "");
},
convert_base(value, from, to) {
try {
// :joy: