Converts an array to a set.

  • Parameters

    • arr: number[]

      The array

    Returns ChalkboardSet<number>