How to check if the input is a file or a directory ?

0
Hello Guys, How to check if the input is a file or a directory ? Please let me know. Thanks in advance.
asked
0 answers