Test whether an object is a bundle_set
Value
TRUE if x is of class bundle_set, otherwise FALSE.
Examples
pts <- matrix(runif(15), ncol = 3, dimnames = list(NULL, c("X", "Y", "Z")))
b <- bundle(streamlines = list(streamline(points = pts)))
bs <- bundle_set(bundles = list("sub-01" = b))
is_bundle_set(bs) # TRUE
#> [1] TRUE
is_bundle_set(b) # FALSE
#> [1] FALSE