Has
Description
Returns True if the collection already has the given permission.
Syntax
Perl
$permissions->Has(permission);
- Identifier
- Description
- permissions
- A Permissions collection object, representing the set of Permission objects available for fetching as a collection.
- permission
- The Permission object to be checked if it is included in the collection, or not.
- Return value
- Returns boolean True if the collection already has the given permission; False otherwise.