Expression Language
Also available as:
PDF

gt

Description: The gt function is used for numeric comparison and returns true if the subject is Greater Than its argument. If either the subject or the argument cannot be coerced into a Number, this function returns false.

Subject Type: Number

Arguments:

  • value : The number to compare the Subject to.

Return Type: Boolean

Examples: ${fileSize:gt( 1024 )} will return true if the size of the FlowFile's content is more than 1 kilobyte (1024 bytes). Otherwise, it will return false.