(ex)
| 6219 | return ""; |
| 6220 | } |
| 6221 | function isStringOperation(ex) { |
| 6222 | switch(ex.operator){ |
| 6223 | case "contains": |
| 6224 | case "!contains": |
| 6225 | case "starts": |
| 6226 | case "!starts": |
| 6227 | return true; |
| 6228 | } |
| 6229 | return false; |
| 6230 | } |
| 6231 | function isnullorEmpty(value) { |
| 6232 | if (value == null) return true; //double equal sign to also catch undefined |
| 6233 | if (typeof value === "string" && value.length === 0) return true; |