2016-06-01 01:06:05 +02:00
|
|
|
import "typings-global";
|
|
|
|
import * as plugins from "./smartpath.plugins";
|
2016-04-30 11:02:03 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|