[][src]Function bitcoin::blockdata::script::read_scriptbool

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.