mobx-keystone
    Preparing search index...

    Function mapToArray

    • Converts a map to an array. If the map is a collection wrapper it will return the backed array.

      Type Parameters

      • K
      • V

      Parameters

      • map: Pick<Map<K, V>, "forEach">

      Returns [K, V][]