Function isSubpath
Parameters
Optionaloptions: { basepath?: string; filepath: string }Options.
Optionalbasepath?: stringThe base path to test against
filepath; default is CWD.filepath: string
The path to test from
basepath.
Returns boolean
Is
filepatha sub-path ofbasepath.
Returns whether the given filepath is a sub-path to the given base path.