MCPcopy Create free account
hub / github.com/react-dropzone/react-dropzone / isExt

Function isExt

src/utils/index.js:346–348  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

344 * @param {string} v
345 */
346export function isExt(v) {
347 return /^.*\.[\w]+$/.test(v);
348}
349
350/**
351 * @typedef {Object.<string, string[]>} AcceptProp

Callers 1

acceptPropAsAcceptAttrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…