TypeScript Utils by Ian Macalinao
    Preparing search index...

    Function createUpdate

    • Creates an update object from an array of update objects.

      Type Parameters

      • DB
      • TB extends string | number | symbol

      Parameters

      • updates: (undefined | null | false | UpdateObject<DB, TB>)[]

        An array of update objects.

      Returns UpdateObject<DB, TB>

      An update object.