/** * * 判断某个文件夹或文件是否在指定的文件夹下 * * const p1 = "c:/temp/a/b/c" * const p2 = "d:/temp/a/b/c" * const base = "c:/temp" * * includePath(p1,base) // true * includePath(p2,base) // false * * * */ declare function includePath(src: string, basePath: string): boolean; export { includePath };