ts-lambda-api - v2.5.2
    Preparing search index...

    Function add

    • Adds a value to the collection.

      Parameters

      • pair: Pair<K, V> | { key: K; value: V }
      • Optionaloverwrite: boolean

        If not set true, using a key that is already in the collection will throw. Otherwise, overwrites the previous value.

      Returns void