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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Path | File | Yes | File path or name. | |
| Extensions | String | Yes | One or more extensions separated by commas, with or without the dot, or a List variable of them. |