MCPcopy Index your code
hub / github.com/nodejs/node / isUpper

Function isUpper

deps/npm/lib/utils/tar.js:81–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 const comparator = ({ path: a }, { path: b }) => localeCompare(a, b)
80
81 const isUpper = str => {
82 const ch = str.charAt(0)
83 return ch === ch.toUpperCase()
84 }
85
86 const uppers = files.filter(file => isUpper(file.path))
87 const others = files.filter(file => !isUpper(file.path))

Callers 1

getContentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected