DefaultModifier
Less than 1 minute
DefaultModifier
Returns the default value if the provided value is null.
Methods
run
public run(mixed $value, mixed $default): mixedParameters
| Parameter | Type | Description |
|---|---|---|
$value | mixed | the value to check |
$default | mixed | the default value to return if the provided value is null |
Generated by Hazaar API Doc Generator on Mon, 27 Oct 2025 13:01:29 +0000