Is valid MIME type

Supported in: Batch, Streaming

Returns true if the input is a valid MIME type.

Expression categories: Boolean, Other

Declared arguments

  • Expression - String representing a MIME type.
    Expression<String>

Output type: Boolean

Examples

Example 1: Base case

Argument values:

  • Expression: mimeType
mimeTypeOutput
application/pdftrue
not a MIME typefalse