25 lines
1.1 KiB
JavaScript
25 lines
1.1 KiB
JavaScript
/* Metro module 845; source: unknown; dependencies: [] */
|
|
function _fun9146(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#9146, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:972:6, offset: 0x00d5e701, size: 64 bytes, params: 8, frame: 16
|
|
const Object = global.Object;
|
|
const defineProperty = Object.defineProperty;
|
|
const Symbol = global.Symbol;
|
|
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
|
exports.parseSampleRate = function(a0) {
|
|
var r1;
|
|
var value = a0;
|
|
var value2 = typeof value;
|
|
if (value2 === 'boolean') {
|
|
return (0, global.Number)(value);
|
|
}
|
|
if (value2 !== 'string') {
|
|
r1 = value;
|
|
} else {
|
|
value = (0, global.parseFloat)(value);
|
|
r1 = value;
|
|
}
|
|
return typeof r1 !== 'number' || (0, global.isNaN)(r1) || (r1 < 0 || r1 > 1) ? undefined : r1;
|
|
};
|
|
}
|
|
|
|
global.__d(_fun9146, 845, []) /* metro module 845 */;
|