has() should only test for the presence of the argument
and not consider its value. treat arguments with a set default value as present.
This commit is contained in:
@@ -607,6 +607,10 @@ For example:
|
||||
}
|
||||
@endcode
|
||||
|
||||
Note that there are no default values for `help` and `timestamp` so we can check their presence using the `has()` method.
|
||||
Arguments with default values are considered to be always present. Use the `get()` method in these cases to check their
|
||||
actual value instead.
|
||||
|
||||
### Usage
|
||||
|
||||
For the described keys:
|
||||
|
Reference in New Issue
Block a user