isFileProtocol(href) returns true when href starts with file://. Part of pota/use/url.
isFileProtocol(href)
true
href
file://
pota/use/url
string
Returns: boolean — true when href starts with file://.
boolean