extensionExists

This function checks if a specific extension exists.

extensionExists(id, version) → returns boolean

This function requires Lucee 5.3 and up.  Not supported on Adobe ColdFusion, etc.

extensionExists Argument Reference

id string
Required

UUID of the Extension.

version string

Version of the Extension.

Compatibility

Lucee:

Version 5.3+ This function was added as part of the Admin Interface improvement.

Examples sample code invoking the extensionExists function

This example shows a very basic usage of the function to determine if a function exists.

dump(extensionExists("99A4EF8D-F2FD-40C8-8FB8C2E67A4EEEB6"));

This example was created by Michael Born to verify that a specific version of an Extension exists.

dump(extensionExists("99A4EF8D-F2FD-40C8-8FB8C2E67A4EEEB6","7.2.2.jre8"));

Fork me on GitHub