test_bit

Function test_bit 

Source
pub(crate) fn test_bit(n: u16, array: &[u8]) -> bool
Expand description

Returns true if nth bit in array is 1.