type-plus
    Preparing search index...

    Function literalArray

    • 🦴 utilities

      return an array whose items are restricted to the provided literals.

      Type Parameters

      • T extends string | number | symbol

      Parameters

      • ...entries: T[]

      Returns T[]