* Checks whether given type is directory or not * @param {'dir'|'directory'|'folder'} type * @returns {Boolean}
(type)
| 219 | * @returns {Boolean} |
| 220 | */ |
| 221 | isDir(type) { |
| 222 | return /^(dir|directory|folder)$/.test(type); |
| 223 | }, |
| 224 | /** |
| 225 | * Checks whether given type is file or not |
| 226 | * @param {'file'|'link'} type |
nothing calls this directly
no outgoing calls
no test coverage detected