$plugins->isDev()
Whether the given plugin, or any plugin if none is given, is in development, i.e. kirbyup added an index.dev.js
$plugins->isDev(Plugin|null $plugin = null): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $plugin | Kirby\Plugin\Pluginornull |
null
|
Return type
bool