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

main.cesium.defaultValue.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

@file:JsModule("cesium")

package cesium

/**
 * Returns the first parameter if not undefined, otherwise the second parameter.
 * Useful for setting a default value for a parameter.
 * ```
 * param = defaultValue(param, 'default');
 * ```
 * @return Returns the first parameter if not undefined, otherwise the second parameter.
 * @see Online Documentation
 */
external fun defaultValue(
    a: Any,
    b: Any,
): Any




© 2015 - 2024 Weber Informatics LLC | Privacy Policy