(collection: T[])
| 9 | Array.isArray(collection) ? collection.length : 0; |
| 10 | |
| 11 | export const arrayContainsEntries = <T>(collection: T[]) => |
| 12 | safeArrayLength(collection) > 0; |
| 13 | |
| 14 | // https://stackoverflow.com/questions/5999998/check-if-a-variable-is-of-function-type |
| 15 | export const isFunction = (v: any): v is Function => typeof v === 'function'; |
no test coverage detected
searching dependent graphs…