Function clarity_repl::clarity::util::bitcoin::blockdata::script::read_scriptbool[][src]

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

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