Skip to main content

has

Function has 

Source
pub fn has(ctx: &Ctx<'_>, kind: &str, resource: Option<&str>) -> Result<bool>
Expand description

Whether kind covers resource right now, for a has()-style query. Unrestricted when no container is installed.

ยงErrors

A net rule or sys name that does not parse, thrown as a TypeError.