MCPcopy Index your code
hub / github.com/dataease/SQLBot / isFile

Function isFile

frontend/public/swagger-ui-bundle.js:41425–41435  ·  view source on GitHub ↗
(s, o)

Source from the content-addressed store, hash-verified

41423 credentials: u,
41424 }).then((s) => s.body)
41425 }
41426 function isFile(s, o) {
41427 return (
41428 o || 'undefined' == typeof navigator || (o = navigator),
41429 o && 'ReactNative' === o.product
41430 ? !(!s || 'object' != typeof s || 'string' != typeof s.uri)
41431 : ('undefined' != typeof File && s instanceof File) ||
41432 ('undefined' != typeof Blob && s instanceof Blob) ||
41433 !!ArrayBuffer.isView(s) ||
41434 (null !== s && 'object' == typeof s && 'function' == typeof s.pipe)
41435 )
41436 }
41437 function isArrayOfFile(s, o) {
41438 return Array.isArray(s) && s.some((s) => isFile(s, o))

Callers 3

isArrayOfFileFunction · 0.85
formatKeyValueFunction · 0.85
serializeRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected