All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.smileys_emotion.monkey_face._allMonkeyFace.kt Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package org.kodein.emoji.smileys_emotion.monkey_face

import org.kodein.emoji.Emoji
import org.kodein.emoji.EmojiFinder
import org.kodein.emoji.addSt1Variations
import org.kodein.emoji.addSt2Variations


internal fun EmojiFinder.addAllMonkeyFace() {
    add(intArrayOf(0x1f648), _SeeNoEvilMonkey)
    add(intArrayOf(0x1f649), _HearNoEvilMonkey)
    add(intArrayOf(0x1f64a), _SpeakNoEvilMonkey)
}

internal fun MutableList.addAllMonkeyFace() {
    add(_SeeNoEvilMonkey)
    add(_HearNoEvilMonkey)
    add(_SpeakNoEvilMonkey)
}

/**
 * All Emoji of the Smileys & Emotion: monkey-face subgroup.
 *
 * WARNING: This can be quite heavy to construct.
 * This method should be called in background and its result should be cached.
*/
public fun Emoji.Companion.allMonkeyFace(): List =
    ArrayList(3).apply { addAllMonkeyFace() }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy