breez_sdk_liquid::bitcoin::blockdata::script

Function read_scriptbool

pub fn read_scriptbool(v: &[u8]) -> bool
Expand description

This is like “read_scriptint then map 0 to false and everything else as true”, except that the overflow rules don’t apply.