Skip to main content

File has extension

True when the file name ends with one of the extensions, e.g. pdf, xlsx (case is ignored).

Condition in the File toolkit · id ooa.file/has_extension · 2 inputs (2 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
PathFileYesFile path or name.
ExtensionsStringYesOne or more extensions separated by commas, with or without the dot, or a List variable of them.