Nutrient Web SDK
    Preparing search index...
    • Creates a new Map from alternating keys and values

      const { Map } = require('immutable')
      Map.of(
      'key', 'value',
      'numerical value', 3,
      0, 'numerical key'
      )
      // Map { 0: "numerical key", "key": "value", "numerical value": 3 }

      Parameters

      • ...keyValues: any[]

      Returns NutrientViewer.Immutable.Map<any, any>

      Use Map([ [ 'k', 'v' ] ]) or Map({ k: 'v' })