toolish - v0.2.5
    Preparing search index...

    Function getOrCreateEntry

    • If the given map contains an entry for the given key, returns its value, otherwise adds a new entry with the result of calling the given function, and returns that.

      Type Parameters

      • K
      • V

      Parameters

      Returns V