Skip to main content

has

Function has 

Source
pub fn has(name: &str) -> bool
Expand description

Does the runner provide an import? A module ("gasm:gfx") or a function in one ("gasm.asset_size64", "gasm:gfx.destroy"). Calling an import the runner lacks traps, so probe optional features first.