(value: any)
| 1785 | } |
| 1786 | |
| 1787 | function nsArray(value: any): any[] { |
| 1788 | if (!value) { |
| 1789 | return []; |
| 1790 | } |
| 1791 | if (Array.isArray(value)) { |
| 1792 | return value; |
| 1793 | } |
| 1794 | const count = Number(value.count ?? 0); |
| 1795 | const result: any[] = []; |
| 1796 | for (let index = 0; index < count; index += 1) { |
| 1797 | result.push(value.objectAtIndex(index)); |
| 1798 | } |
| 1799 | return result; |
| 1800 | } |
| 1801 | |
| 1802 | function nsSet(value: any): any[] { |
| 1803 | if (!value) { |
no outgoing calls
no test coverage detected