lt

Description: The lt function is used for numeric comparison and returns true if the subject is Less 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:lt( 1048576 )} will return true if the size of the FlowFile's content is less than 1 megabyte (1048576 bytes). Otherwise, it will return false.