Silber\Bouncer\Database\HasRoles::isAn PHP Method

isAn() public method

Check if the model has any of the given roles.
public isAn ( string $role ) : boolean
$role string
return boolean
    public function isAn($role)
    {
        $roles = func_get_args();
        $clipboard = $this->getClipboardInstance();
        return $clipboard->checkRole($this, $roles, 'or');
    }