Function fillKeys

  • Fills an array with a value.

    Type Parameters

    • T extends PropertyKey
    • V

    Parameters

    • keys: T[]

      keys to fill

    • value: V

      value to fill the keys with

    Returns Record<T, V>

    an object with the keys filled with the value

Generated using TypeDoc