...
Using our is() function will give you access to our core is Is class, which is used to check if something is or isn't true based on the method accessed.
...
Method | Description | Usage | Returns | |||||
---|---|---|---|---|---|---|---|---|
module(string $module)
$module Module name | Checks if a module is installed based on the path |
| true on success, false on failure. | |||||
user() | Checks if a user is logged in or not. |
| true on success, false on failure.
| |||||
app(string $app_id)
$app_id App ID | Checks if an app is installed based on the path
|
| true on success, false on failure. |