MCPcopy Create free account
hub / github.com/browserslist/browserslist / isFile

Function isFile

node.js:65–67  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

63}
64
65function isFile(file) {
66 return getPathType(file) === PATHTYPE_FILE
67}
68
69function isDirectory(dir) {
70 return getPathType(dir) === PATHTYPE_DIR

Callers 1

node.jsFile · 0.85

Calls 1

getPathTypeFunction · 0.85

Tested by

no test coverage detected