* Tests whether a value is an array.
(value)
| 1819 | * Tests whether a value is an array. |
| 1820 | */ |
| 1821 | function isArray(value) { |
| 1822 | return Array.isArray ? Array.isArray(value) : value instanceof Array; |
| 1823 | } |
| 1824 | ts.isArray = isArray; |
| 1825 | function toArray(value) { |
| 1826 | return isArray(value) ? value : [value]; |
no outgoing calls
no test coverage detected
searching dependent graphs…