filepath.ends.with {freesurferformats} | R Documentation |
Check whether filepath ends with extension.
Description
Check whether filepath ends with extension.
Usage
filepath.ends.with(filepath, extensions)
Arguments
filepath |
string. Path to a file, including filename and extension. |
extensions |
list of strings. A list of suffixes to check. Case does not matter. Example: |
Value
logical, whether the filepath end with one of the extensions.
[Package freesurferformats version 0.1.18 Index]