Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@filerobot/utils / lib / isFileSupportedByCloudimage.js
Size: Mime:
import cloudimageSupportedInputMimiTypes from './cloudimageSupportedInputMimeTypes';
import getFileType from './getFileType';

/**
 * Check if the selected item type is supported input for cloudimage
 *
 * @param {object} item
 * @returns {Boolean}
 */

var isFileSupportedByCloudimage = function isFileSupportedByCloudimage(file) {
  return cloudimageSupportedInputMimiTypes.includes(getFileType(file));
};
export default isFileSupportedByCloudimage;