@yookue/ts-lang-utils
    Preparing search index...

    Function getValue

    • Returns the value with the given key

      Type Parameters

      • K
      • V

      Parameters

      • Optionalmap: Map<K, V> | ReadonlyMap<K, V>

        the map to inspect

      • Optionalkey: K

        the key to lookup

      • OptionaldefaultValue: V

        the default value when nothing matches the given key

      Returns undefined | V

      the value with the given key

      David Hsing