Function isPropertyKey

  • Tests if the given value is a PropertyKey ( string | number | symbol).

    Parameters

    • value: unknown

    Returns value is PropertyKey