Refactoring: move method

This commit is contained in:
Pieter Vander Vennet 2025-08-01 17:31:41 +02:00
parent a2ad13dd50
commit b8a0fbe662
15 changed files with 31 additions and 44 deletions

View file

@ -1784,18 +1784,6 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
return href
}
/**
* Returns 'true' if the given string contains at least one and only emoji characters
*
* Utils.isEmoji("⛰\uFE0F") // => true
* Utils.isEmoji("🇧🇪") // => true
* Utils.isEmoji("🍕") // => true
*/
public static isEmoji(string: string) {
return Strings.isEmoji(string)
}
/**
*
* JSON.stringify(Utils.reorder({b: "0", a: "1"}, ["a", "b"])) // => '{"a":"1","b":"0"}'