Skip to main content

ACTIVE_FUNCTION

Constant ACTIVE_FUNCTION 

Source
pub const ACTIVE_FUNCTION: &str = "__fallow_m_a";
Expand description

The prelude function that asks the runtime whether a mutant is active.

The instrumented output calls __fallow_m_a(id) before each mutated branch. The function returns globalThis.__fallowMutation.a(id), or false when the runtime object is not set.