Tests if object is antsImage

is.antsImage(x)

Arguments

x

An object

Value

TRUE if object is antsImage; FALSE otherwise.

Examples

is.antsImage(antsImageRead(getANTsRData("r16"), 2))
#> [1] TRUE