List < Boolean > resolveBooleanExpressions ( List < String > expressions , Entity entity ) { if ( expressions . isEmpty ( ) ) { return Collections . emptyList ( ) ; } return jsMagmaScriptEvaluator . eval ( expressions , entity ) . stream ( ) . map ( this :: convertToBoolean ) . collect ( toList ( ) ) ; }
Resolved boolean expressions