Repository URL to install this package:
|
Version:
3.12.2 ▾
|
// as uploadStep is a property of the files being uploaded, also id is specificed in the files being uploaded
// cause the files found on backend are using uuid instead of id.
var isUploadableFile = function isUploadableFile() {
var file = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return file ? Boolean(file.uploadStep || file.id) : false;
};
export default isUploadableFile;