which-electron/src/utils.js

4 lines
68 B
JavaScript

export function isDirectory(a) {
return a ? a[0] == "D" : null;
}