isAllowed()
isAllowed( $type, boolean $strict = false) : boolean
Is a value allowed through this filter?
Parameters
$type | ||
boolean | $strict | Should we throw errors? |
Throws
- \Phabstractic\Data\Types\Resource\Phabstractic\Data\Types\Exception\InvalidArgumentException
Returns
boolean —Allowed or not?