• Test whether a file path has an extension in a list of provided extensions

    Parameters

    • path: string
    • extensions: string[]

    Returns boolean