powered by
Test if an object is a bitstream object
is_bs(x)
logical. TRUE if object is a bitstream object
object to test
# Negative case is_bs(NULL) # Positive case raw_vec <- as.raw(1:3) bs <- bs_open(raw_vec, 'r') is_bs(bs) bs_close(bs)
Run the code above in your browser using DataLab