Function: getPlayerRank()


# Function: getPlayerRank()

getPlayerRank(player, onlyPackages): PlayerRank

Get an PlayerRank object describing the player's rank in more detail without the need to figure out how to parse it yourself.

# Parameters

player: NonNullable<object & Player>

The result of client.player.uuid().

onlyPackages: boolean = false

Whether to ignore their staff / youtube rank and only get their donor rank.

# Returns

PlayerRank