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