* @param {unknown} object * @returns {object is Array }
(object)
| 3 | * @returns {object is Array<any>} |
| 4 | */ |
| 5 | function isNonEmptyArray(object) { |
| 6 | return Array.isArray(object) && object.length > 0; |
| 7 | } |
| 8 | |
| 9 | export default isNonEmptyArray; |
no outgoing calls
no test coverage detected
searching dependent graphs…