保誠-保戶業務員媒合平台
Tomas
2022-05-19 957a1f10a06fdbb76f1a0ba94fe44126c613fee3
1
2
3
4
5
6
7
8
9
10
11
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.isStyleFile = exports.isFunction = void 0;
const path_1 = __importDefault(require("path"));
const constants_1 = require("./constants");
exports.isFunction = (arg) => typeof arg === 'function';
exports.isStyleFile = (file) => constants_1.SUPPORTED_FILE_EXTS.includes(path_1.default.extname(file));
//# sourceMappingURL=type-guards.js.map