Checks if a value is a Map
value
const value = new Map();const result = isMap(value);console.log(result); // true
true if value is a Map, otherwise false
true
false
the Map key type
the Map value type
the value to check
Generated using TypeDoc
Checks if a
valueis a MapExample
Returns
trueifvalueis a Map, otherwisefalse