hasExtension

fun hasExtension(extensionName: String): Boolean(source)

true if the tileset JSON file lists the extension in extensionsUsed; otherwise, false.

Return

true if the tileset JSON file lists the extension in extensionsUsed; otherwise, false.

Parameters

extensionName

The name of the extension to check.

See also