MCPcopy Index your code
hub / github.com/postcss/postcss / startWith

Method startWith

lib/previous-map.js:147–150  ·  view source on GitHub ↗
(string, start)

Source from the content-addressed store, hash-verified

145 }
146
147 startWith(string, start) {
148 if (!string) return false
149 return string.substr(0, start.length) === start
150 }
151
152 withContent() {
153 return !!(

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected