Skip to main content

bytes_truthy

Function bytes_truthy 

Source
pub fn bytes_truthy(bytes: &[u8]) -> bool
Expand description

PHP truth of a byte string: "" and "0" are false, every other string is true.