Check if the file has a name that matches the ".xlsx" file extension pattern.

is_excel(file)

Arguments

file

File path.

See also

Other logical functions: is_csv()

Other excel functions: read_full_excel(), write_full_excel(), write_temp_xlsx()