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
/
type
/
isKindEqual.js
11 lines
•
291 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{ kindOf }
from
"./kindOf"
;
/** * Check if two arguments are of same type *
@param
arg1
*
@param
arg2
*
@returns
{
boolean
} */
export
function
isKindEqual
(
arg1, arg2
) {
return
kindOf
(arg1).
toLowerCase
() ===
kindOf
(arg2).
toLowerCase
(); }
//# sourceMappingURL=isKindEqual.js.map