Function isItemRarity

  • Type guard to check if a value is a valid ItemRarity

    Parameters

    • value: any

    Returns value is ItemRarity