UNPKG

@cspell/cspell-tools

Version:
14 lines 409 B
export function isFilePath(source) { return typeof source === 'string'; } export function isFileSource(source) { if (!source || isFilePath(source)) return false; return source.filename !== undefined; } export function isFileListSource(source) { if (!source || isFilePath(source)) return false; return source.listFile !== undefined; } //# sourceMappingURL=configUtils.js.map