function isMapisMap<T>(object: T | { }): object is T extends ReadonlyMap<any, any> ? (unknown extends T ? never : ReadonlyMap<any, any>) : Map<unknown, unknown>DeprecatedReturns true if the value is a built-in Map instance. util.types.isMap(new Map()); // Returns true Type ParametersTParametersobject: T | { }Return Typeobject is T extends ReadonlyMap<any, any> ? (unknown extends T ? never : ReadonlyMap<any, any>) : Map<unknown, unknown>