Skip to main content

gate_value_as_bool

Function gate_value_as_bool 

Source
pub fn gate_value_as_bool(value: &Value) -> Option<bool>
Expand description

A gate value from the wire: JSON booleans stay booleans, and the CloudFormation parameter strings “true”/“false” coerce — CloudFormation has no boolean parameter type, so its registration payloads deliver gate answers as strings. Anything else is None, refused loudly by callers.