tus-js-client
Version:
A pure JavaScript client for the tus resumable upload protocol
10 lines (9 loc) • 340 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var isReactNative = function isReactNative() {
return typeof navigator !== 'undefined' && typeof navigator.product === 'string' && navigator.product.toLowerCase() === 'reactnative';
};
var _default = exports.default = isReactNative;