UNPKG
sharp-mapper
Version:
latest (3.0.0)
3.0.0
2.7.2
2.7.1
2.7.0
2.6.0
2.5.1
2.5.0
2.4.0
2.3.1
2.3.0
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.3
2.1.2
2.1.1
2.1.0
2.0.0
1.3.1
1.3.0
1.2.2
1.2.1
1.2.0
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.0
JavaScript mapping module
github.com/Youssef93/sharp-mapper
Youssef93/sharp-mapper
sharp-mapper
/
src
/
Utilities.js
13 lines
(11 loc)
•
269 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
module
.
exports
= {
isObject
:
function
(
val
) {
return
Object
.
prototype
.
toString
.
call
(val) ===
"[object Object]"
; },
isArray
:
function
(
val
) {
return
Array
.
isArray
(val); },
isNumber
:
function
(
val
) {
return
typeof
val ===
'number'
; } };