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