text.line.is.numeric: Check whether a text line holds a fixed number of numerical...

View source: R/read_fs_transform.R

text.line.is.numericR Documentation

Check whether a text line holds a fixed number of numerical values.

Description

Check whether a text line holds a fixed number of numerical values.

Usage

## S3 method for class 'line.is.numeric'
text(line, num)

Arguments

line

character string, the line to check.

num

integer, the number of numerical values expected in the line.

Value

logical, whether the line contains exactly num numerical values and nothing else.


freesurferformats documentation built on Sept. 25, 2026, 1:07 a.m.