(val: WaveObj)
| 39 | } |
| 40 | |
| 41 | function isValidWaveObj(val: WaveObj): boolean { |
| 42 | if (val == null) { |
| 43 | return false; |
| 44 | } |
| 45 | if (isBlank(val.otype) || isBlank(val.oid) || isBlankNum(val.version)) { |
| 46 | return false; |
| 47 | } |
| 48 | return true; |
| 49 | } |
| 50 | |
| 51 | function makeORef(otype: string, oid: string): string { |
| 52 | if (isBlank(otype) || isBlank(oid)) { |
no test coverage detected