is file type

This block is part of the files group and was last modified in core v14.0.5.

is file type v14.0.5

Checks whether the given files match a specific extension (e.g. mp4, jpg, png). Separate alternatives with | (e.g. png|jpg|gif).

In pins 2
  • files required
    file

    the files to check

  • extension required
    value

    the extension to check (e.g. mp4, jpg, png). Without dot. Separate alternatives with |, e.g. png|jpg|gif.

Out pins 2
  • is match
    condition
  • count
    number
is mp4
is jpg
is png
is pdf
is video
is image
check file type

A typical wiring for is file type: value feeds the extension pin; the condition out pin feeds branch.

Studio canvas example for the is file type block: typical wiring for is file type.

Commonly used with

In production blueprints, this block is most often wired together with:

  • branch: this block feeds into it.
  • create: feeds into this block. Creates a new function that can be executed using the given name.
  • value: feeds into this block. Simply returns the provided value.

Version history

Introduced in v14.0.5.


Back to files Return to the main group to view all sub-groups Back to file conditions Return to the group to view all blocks within this group