#assertTrue

( specific directive - since version 2.0.7 )

Throws an error with the given message if the expression is not true

Examples :

    #assertTrue( $flag, "Flag is not true!" )
    #assertTrue( $entity.hasPrimaryKey(), "Primary Key required!" )