Skip to contents

Generic function to test whether a file name conforms to the given FileFormat instance. Will test for match to either header file or data file

Usage

file_matches(x, file_name)

# S4 method for FileFormat,character
file_matches(x, file_name)

Arguments

x

object for which the file name is to matched to

file_name

file name to be matched

Value

TRUE for match, FALSE otherwise