UNPKG

split-testing

Version:

Lightweight split-testing library (A/B or multivariant)

10 lines (9 loc) 285 B
import type { Variant, ExperimentOptions } from './types'; /** * Configure a split testing experiment with the given options. * * @export * @param {ExperimentOptions} options * @return {*} {boolean} */ export declare function setExperiment(options: ExperimentOptions): Variant;