@cspell/cspell-tools
Version:
Tools to assist with the development of cSpell
14 lines • 409 B
JavaScript
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