mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-26 23:21:36 +01:00
8 lines
217 B
JavaScript
Vendored
8 lines
217 B
JavaScript
Vendored
"use strict";
|
|
|
|
var objToString = Object.prototype.toString, id = objToString.call(/a/);
|
|
|
|
module.exports = function (value) {
|
|
return (value && (value instanceof RegExp || objToString.call(value) === id)) || false;
|
|
};
|