UNPKG
xhy-xe-utils
Version:
latest (1.0.0)
1.0.0
JavaScript 函数库、工具类
github.com/xuliangzhan/xe-utils
xuliangzhan/xe-utils
xhy-xe-utils
/
methods
/
base
/
helperCreateInInObjectString.js
10 lines
(7 loc)
•
247 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
var
objectToString =
Object
.
prototype
.
toString
function
helperCreateInInObjectString
(
type
) {
return
function
(
obj
) {
return
'[object '
+ type +
']'
=== objectToString.
call
(obj) } }
module
.
exports
= helperCreateInInObjectString