getExtensionFromUri
Given a URI, returns the extension of the URI.
//extension will be "czml";
const extension = getExtensionFromUri('/Gallery/simple.czml?value=true&example=false');
Content copied to clipboard
Return
The extension of the Uri.
Parameters
uri
The Uri.