Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js is directory

const fs=require("fs");

fs.lstatSync(path_string).isDirectory();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #directory
ADD COMMENT
Topic
Name
3+2 =