Utility method testing if a script result is false. @param scriptResult a script result (may be null) @return true if scriptResult is false
(final ScriptResult scriptResult)
| 59 | * @return {@code true} if <code>scriptResult</code> is {@code false} |
| 60 | */ |
| 61 | public static boolean isFalse(final ScriptResult scriptResult) { |
| 62 | return scriptResult != null && Boolean.FALSE.equals(scriptResult.getJavaScriptResult()); |
| 63 | } |
| 64 | |
| 65 | /** |
| 66 | * Utility method testing if a script result is undefined (there was no return value). |
no test coverage detected