You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
235 B
13 lines
235 B
"use strict";
|
|
|
|
function isObjectURL(url) {
|
|
return url.startsWith('blob:');
|
|
}
|
|
|
|
/**
|
|
* Check if a URL string is an object URL from `URL.createObjectURL`.
|
|
*
|
|
* @param {string} url
|
|
* @returns {boolean}
|
|
*/
|
|
module.exports = isObjectURL;
|