projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
19a99e4f194c2e61fd11821e2bcaf568a439bdeb
[platform/framework/web/crosswalk-tizen.git]
/
1
'use strict';
2
3
var toString = Object.prototype.toString
4
5
, id = toString.call(1);
6
7
module.exports = function (x) {
8
return ((typeof x === 'number') ||
9
((x instanceof Number) ||
10
((typeof x === 'object') && (toString.call(x) === id))));
11
};