rxIs function

Check the type of an object using Rcpp