Skip to main content

gate_resolves_true

Function gate_resolves_true 

Source
pub fn gate_resolves_true(
    inputs: &[StackInputDefinition],
    input_id: &str,
    input_values: &HashMap<String, Value>,
    resource_id: &str,
) -> Result<bool, String>
Expand description

The deployer’s answer for a live gate: the provided value, else the input’s declared boolean default. The error is the reason, for the caller to wrap.