10 lines
246 B
JavaScript
10 lines
246 B
JavaScript
var objectToString = require('./staticObjectToString')
|
|
|
|
function helperCreateInInObjectString (type) {
|
|
return function (obj) {
|
|
return '[object ' + type + ']' === objectToString.call(obj)
|
|
}
|
|
}
|
|
|
|
module.exports = helperCreateInInObjectString
|