Skip to main content

yaml_scalar_is_bool

Function yaml_scalar_is_bool 

Source
pub fn yaml_scalar_is_bool(value: &str) -> bool
Expand description

Identifies a YAML boolean scalar.

§Parameters

§Returns

Returns true when the condition checked by crate::declarative::yaml_scalar_is_bool holds and false otherwise.

§Examples

ⓘ
let _result = pharos_runtime_compiler::declarative::yaml_scalar_is_bool("value");