Chore: housekeeping

This commit is contained in:
Pieter Vander Vennet 2024-06-20 04:21:29 +02:00
parent 8178c5607b
commit cd0d275965
73 changed files with 2105 additions and 2219 deletions

View file

@ -1660,13 +1660,13 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
}
}
private static emojiRegex = /^\p{Extended_Pictographic}+$/u
private static emojiRegex = /^\p{Extended_Pictographic}+$/u
/**
* Returns 'true' if the given string contains at least one and only emoji characters
* @param string
*/
public static isEmoji(string: string){
public static isEmoji(string: string) {
return Utils.emojiRegex.test(string)
}
}