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

commonMain.dev.icerock.moko.resources.PluralsResource.kt Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2019 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
 */

package dev.icerock.moko.resources

import dev.icerock.moko.resources.desc.PluralFormatted
import dev.icerock.moko.resources.desc.StringDesc

expect class PluralsResource

fun PluralsResource.format(number: Int, vararg args: Any) = StringDesc.PluralFormatted(this, number, args.asList())
fun PluralsResource.format(number: Int, args: List) = StringDesc.PluralFormatted(this, number, args)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy