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

assert.surfaceR Documentation

Stop unless surf is an fs.surface

Description

Stop unless surf is an fs.surface

Usage

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.


dfsp-spirit/freesurferformats documentation built on Sept. 18, 2024, 4:12 p.m.