2016-06-14 03:16:43 +00:00
|
|
|
import "typings-global";
|
2016-04-30 09:02:03 +00:00
|
|
|
import plugins = require("./smartpath.plugins");
|
|
|
|
|
|
|
|
export let isDir = function(pathArg:string){
|
|
|
|
return !isFile(pathArg);
|
|
|
|
}
|
|
|
|
|
|
|
|
export let isFile = function(pathArg){
|
|
|
|
return /\.[a-zA-Z]*$/.test(pathArg); // checks if there is a .anything at the end
|
|
|
|
}
|