Skip to content
Discord-Rankup

getLevelFromXP

Returns the level that would be achieved with the specified XP amount

Parameters

ParameterTypeDescriptionRequiredDefault
xpNumberThe XP amountNone

Returns

Number - The level that would be achieved with the specified XP amount