Answers for "fs how to check if something is a dir"

3

fs check if dir is dir

fs.lstatSync(path_string).isDirectory()
Posted by: Guest on June-05-2021

Code answers related to "fs how to check if something is a dir"

Code answers related to "Javascript"

Browse Popular Code Answers by Language