Options
All
  • Public
  • Public/Protected
  • All
Menu

Module isMap

Index

References

Functions Lang

References

Renames and re-exports __type

Lang Functions

  • isMap(value: any): value is Map<any, any>
  • Checks if value is classified as a Map object.

    since

    5.5.0

    example
    isMap(new Map)
    // => true

    isMap(new WeakMap)
    // => false

    Parameters

    • value: any

      The value to check.

    Returns value is Map<any, any>

    Returns true if value is a map, else false.