forked from MapComplete/MapComplete
Merge develop
This commit is contained in:
commit
55ebaaa256
17 changed files with 640 additions and 645 deletions
11
src/Utils.ts
11
src/Utils.ts
|
@ -1784,17 +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)
|
||||
}
|
||||
|
||||
|
||||
public static sum(list: number[]): number {
|
||||
let total = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue