MCPcopy Create free account
hub / github.com/GoogleChrome/samples / isFileURI

Function isFileURI

mkbitmap/mkbitmap.js:721–723  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

719
720// Indicates whether filename is delivered via file protocol (as opposed to http/https)
721function isFileURI(filename) {
722 return filename.startsWith('file://');
723}
724
725// end include: URIUtils.js
726/** @param {boolean=} fixedasm */

Callers 4

mkbitmap.jsFile · 0.70
getBinaryPromiseFunction · 0.70
instantiateArrayBufferFunction · 0.70
instantiateAsyncFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected