Skip to contents

Check whether an object is an fs.transform instance.

Usage

is.fs.transform(x)

Arguments

x

any object.

Value

logical, whether x is an fs.transform instance.

Examples

tf <- read.fs.transform(system.file("extdata", "talairach.xfm",
  package = "freesurferformats", mustWork = TRUE
))
is.fs.transform(tf)
#> [1] TRUE
is.fs.transform("no transform")
#> [1] FALSE