getExtensionFromUri

Given a URI, returns the extension of the URI.

//extension will be "czml";
const extension = getExtensionFromUri('/Gallery/simple.czml?value=true&example=false');

Return

The extension of the Uri.

Parameters

uri

The Uri.

See also