(oref: string)
| 23 | }; |
| 24 | |
| 25 | function splitORef(oref: string): [string, string] { |
| 26 | const parts = oref.split(":"); |
| 27 | if (parts.length != 2) { |
| 28 | throw new Error("invalid oref"); |
| 29 | } |
| 30 | return [parts[0], parts[1]]; |
| 31 | } |
| 32 | |
| 33 | function isBlank(str: string): boolean { |
| 34 | return str == null || str == ""; |
no outgoing calls
no test coverage detected