Compares two expressions of any type and returns true if both are equal, false otherwise. This is the functional equivalent of the = operator.
eq( expression1, expression2 ) boolean value
expression1, expression2
Values of any type. Both expressions must be of the same type.
Examples 1 and 2 shows both ways of comparing two expressions.
if( eq(¤t.line, 33) ) show('Middle of page') endif()
if(¤t.line = 33) show('Middle of page') endif()