• Map a list of keys to the corresponding list of values according the passed object mapping keys to values.

    Type Parameters

    • T

    Parameters

    • keys: string[]

      Keys to map to values.

    • keyValues: {
          [key: string]: T;
      }

      Object mapping keys to values.

      • [key: string]: T
    • Optional onMissingKey: ((key) => T)

      Called when no value was found for a given key.

        • (key): T
        • Parameters

          • key: string

          Returns T

    Returns T[]

    List of corresponding values.

Generated using TypeDoc