UNPKG
@n3okill/utils
Version:
latest (2.0.4)
2.0.4
2.0.3
2.0.0
1.1.1
1.1.0
1.0.5
1.0.4
1.0.2
1.0.1
Many javascript helpers
github.com/n3okill/utils
n3okill/utils
@n3okill/utils
/
dist
/
mjs
/
equal
/
equalMap.d.ts
8 lines
(7 loc)
•
256 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
/** * Check if two maps have the same keys and values. *
@param
{
T
}
a
- The first map. *
@param
{
U
}
b
- The map to compare to a. *
@returns
`true` */
export
declare
function
equalMap<T
extends
Map
<
unknown
,
unknown
>, U
extends
T>(
a
: T,
b
: U):
boolean
;