find-node-modules
Version:
Return an array of all parent node_modules directories
1 lines • 124 B
text/typescript
export const isArrayLike = (<T>(x: any): x is ArrayLike<T> => x && typeof x.length === 'number' && typeof x !== 'function');
Return an array of all parent node_modules directories