Checks if the given value is a Map (opens in a new tab) object.
Syntax
import { isMap } from '@opentf/std';
isMap(val: unknown): boolean;
Examples
isMap(new Map()) //=> true
isMap({}) //=> false
Checks if the given value is a Map (opens in a new tab) object.
import { isMap } from '@opentf/std';
isMap(val: unknown): boolean;
isMap(new Map()) //=> true
isMap({}) //=> false