isMap
Returns true for Map instances
122 bytes
since v12.2.0
Usage
Returns true for Map
instances, even if they are subclass instances or from
other realms.
import * as _ from 'radashi'
_.isMap(new Map()) // true_.isMap(new (class extends Map {})()) // true