Build 589089stable
Module 838596
395 characters · in 24159.16f64d32f019fb82.jsDependencies
Source Raw
function(e,t,n){n.d(t,{i:()=>o});var r=n(326447),i=n(272469);function o(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if("number"!=typeof t||isNaN(t)||t<0||t>1){r.T&&i.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`);return}return t}}