"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

// source by https://github.com/ant-design/pro-components/blob/master/packages/utils/src/isImg/index.ts

/** 判断是否是图片链接 */
function isImg(path) {
  return /\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(path);
}

var _default = isImg;
exports.default = _default;