(ex)
| 153036 | } |
| 153037 | |
| 153038 | function isStringOperation(ex) { |
| 153039 | switch (ex.operator) { |
| 153040 | case 'contains': |
| 153041 | case '!contains': |
| 153042 | case 'starts': |
| 153043 | case '!starts': |
| 153044 | return true; |
| 153045 | } |
| 153046 | |
| 153047 | return false; |
| 153048 | } |
| 153049 | |
| 153050 | function isnullorEmpty(value) { |
| 153051 | if (value == null) return true; //double equal sign to also catch undefined |