main.cesium.getFilenameFromUri.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
@file:JsModule("cesium")
package cesium
/**
* Given a URI, returns the last segment of the URI, removing any path or query information.
* ```
* //fileName will be"simple.czml";
* const fileName = getFilenameFromUri('/Gallery/simple.czml?value=true&example=false');
* ```
* @param [uri] The Uri.
* @return The last segment of the Uri.
* @see Online Documentation
*/
external fun getFilenameFromUri(uri: String): String