Function ark_api::feature_toggle::get

source ·
pub fn get(id: &'static str) -> bool
Expand description

Reads the value for a feature toggle predefined in the package’s metadata.

Panics if the feature toggle identifier hasn’t been declared in the module’s Cargo.toml.