Skip to main content

outputs_argument_present

Function outputs_argument_present 

Source
pub fn outputs_argument_present(text: &str, input: &str) -> Option<bool>
Expand description

Whether a flake’s outputs function head names input.

Some(true) where it does, Some(false) where the head is an explicit set that lacks it, and None where the head binds its inputs another way — an ellipsis or an @ pattern — or no head was found at all.