Documentation
    Preparing search index...
    • Map a list of values to the corresponding list of keys according the passed object mapping keys to values.

      Type Parameters

      • T
      • KeyValuesType extends { [key: string]: T }

      Parameters

      • values: T[]

        Values to map to keys.

      • keyValues: KeyValuesType

        Object mapping keys to values.

      • OptionalonMissingKey: (value: T) => string

        Called when no key was found for a given value.

      Returns (keyof KeyValuesType)[]

      List of corresponding keys.