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

surface

fs.surface instance or anything else

param_name

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

Value

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


freesurferformats documentation built on May 29, 2024, 5:29 a.m.