| Folders Node.js part3
 Folders Node.js Part3
 Here in this code we will check object is file or subfolder and this will return true or false. If it is a file then this will return true else this will return false. This code will check each and every object in folder.
 
 We have name the file as searchfile.js and we will open the node.js command prompt and run the node.js command to run the file.
 
 To View the codeDownload Code 
 
 
 
  
 Below are the different files and folder:-
 
 
  
 
 Now we open the node.js command prompt and run the below command to execute the command
 
 
 node searchfile.js
  
 
 And output of above command is given below:-
 
 
   |  |  |