@mikuroxina/mini-fn
    Preparing search index...

    Function shrinkTo

    • Optimizes the allocated capacity with a lower limit capacity.

      If the current capacity is less than capacity, this will do nothing.

      Parameters

      • capacity: number

        Minimum capacity target.

      Returns <S, K, V>(map: MutRef<S, Hash.Map<K, V>>) => Mut.Mut<S, never[]>

      Mutating operation that shrinks the capacity of the map.