@nevware21/ts-utils
    Preparing search index...

    Function isMap

    • Checks if the type of value is a Map object.

      Type Parameters

      • K = any
      • V = any

      Parameters

      • value: any

        Value to be checked.

      Returns value is Map<K, V>

      True if the value is a Map, false otherwise.

      isMap(new Map());        // true
      isMap(new WeakMap()); // false
      isMap({}); // false
      isMap(null); // false