(collection: T[])
| 6 | |
| 7 | // TODO: Better naming for this? |
| 8 | export const safeArrayLength = <T>(collection: T[]) => |
| 9 | Array.isArray(collection) ? collection.length : 0; |
| 10 | |
| 11 | export const arrayContainsEntries = <T>(collection: T[]) => |
| 12 | safeArrayLength(collection) > 0; |
no outgoing calls
no test coverage detected
searching dependent graphs…