Macro to answer the question: is it a slice?
shell test
git clone https://github.com/Wandalen/wTools
cd wTools
cd sample/rust/trivial
cargo run
cargo add implements
``` rust sample test use is_slice::*;
fn main() {
dbg!( isslice!( Box::new( true ) ) ); // < isslice!(Box :: new(true)) = false dbg!( isslice!( &[ 1, 2, 3 ] ) ); // < isslice!(& [1, 2, 3]) = false dbg!( isslice!( &[ 1, 2, 3 ][ .. ] ) ); // < isslice!(& [1, 2, 3] [..]) = tru
} ```