added whole system from ola4doc
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
var toString = Object.prototype.toString
|
||||
|
||||
, id = toString.call('');
|
||||
|
||||
module.exports = function (x) {
|
||||
return (typeof x === 'string') || (x && (typeof x === 'object') &&
|
||||
((x instanceof String) || (toString.call(x) === id))) || false;
|
||||
};
|
||||
Reference in New Issue
Block a user