R/read_nifti1.R
nifti.file.version.RdDetermine NIFTI file version information and whether file is a NIFTI file.
nifti.file.version(filepath)integer, the NIFTI file version. One if `1` for NIFTI v1 files, `2` for NIFTI v2 files, or `NULL` if the file is not a NIFTI file.