Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
9 lines
400 B
Plaintext
9 lines
400 B
Plaintext
/**
|
|
* Parse a sample rate from a given value.
|
|
* This will either return a boolean or number sample rate, if the sample rate is valid (between 0 and 1).
|
|
* If a string is passed, we try to convert it to a number.
|
|
*
|
|
* Any invalid sample rate will return `undefined`.
|
|
*/
|
|
export declare function parseSampleRate(sampleRate: unknown): number | undefined;
|
|
//# sourceMappingURL=parseSampleRate.d.ts.map |