commonMain.food_drink.dishware._allDishware.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of emoji-kt Show documentation
Show all versions of emoji-kt Show documentation
Emoji support for Kotlin/Multiplatform
package org.kodein.emoji.food_drink.dishware
import org.kodein.emoji.Emoji
import org.kodein.emoji.EmojiFinder
import org.kodein.emoji.addSt1Variations
import org.kodein.emoji.addSt2Variations
internal fun EmojiFinder.addAllDishware() {
add(intArrayOf(0x1fad9), _Jar)
add(intArrayOf(0x1f962), _Chopsticks)
add(intArrayOf(0x1f374), _ForkAndKnife)
add(intArrayOf(0x1f944), _Spoon)
add(intArrayOf(0x1f52a), _KitchenKnife)
add(intArrayOf(0x1f37d, 0xfe0f), _ForkAndKnifeWithPlate)
add(intArrayOf(0x1f37d), _ForkAndKnifeWithPlate)
add(intArrayOf(0x1f3fa), _Amphora)
}
internal fun MutableList.addAllDishware() {
add(_Jar)
add(_Chopsticks)
add(_ForkAndKnife)
add(_Spoon)
add(_KitchenKnife)
add(_ForkAndKnifeWithPlate)
add(_Amphora)
}
/**
* All Emoji of the Food & Drink: dishware 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.allDishware(): List =
ArrayList(7).apply { addAllDishware() }
© 2015 - 2025 Weber Informatics LLC | Privacy Policy