isValidPath
Checks if a directory exists at the given file path.
- import the method
import { isValidPath } from "nodelpers";
- params
fp: string;
- usage
let path = "/path/to/your/dir";
isValidPath(path); // true or false
Checks if a directory exists at the given file path.
import { isValidPath } from "nodelpers";
fp: string;
let path = "/path/to/your/dir";
isValidPath(path); // true or false