assert.surface: Stop unless surf is an fs.surface

Description Usage Arguments Value

Description

Stop unless surf is an fs.surface

Usage

1
assert.surface(surface, param_name = "surface")

Arguments

param_name

character string, used in stop message to identify the parameter.

surf

fs.surface instance or anything else

Value

Called for the side effect of stopping if surf is not an fs.surface instance.


freesurferformats documentation built on May 25, 2021, 5:10 p.m.