pocketmine\Server::isWhitelisted PHP Method

isWhitelisted() public method

public isWhitelisted ( string $name ) : boolean
$name string
return boolean
    public function isWhitelisted($name)
    {
        return !$this->hasWhitelist() or $this->operators->exists($name, true) or $this->whitelist->exists($name, true);
    }
Server