Function literalArray

  • 🦴 utilities

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

    Type Parameters

    • T extends string | number | symbol

    Parameters

    • Rest...entries: T[]

    Returns T[]