$modules→isInstalled()
Is the given module name installed?
Usage
$bool = $modules->isInstalled(string $class);Arguments
| Name | Type(s) | Description |
|---|---|---|
$class | string | Just a module class name, or optionally: |
Return value
boolTrue if installed, false if not
$modules methods and properties
API reference based on ProcessWire core version 3.0.252