First time here? Checkout the FAQ!
x
menu search
brightness_auto
more_vert
Which of these is method for testing whether the specified element is a file or a directory?

a. IsFile()

b. isFile()

c. Isfile()

d. isfile()
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike

1 Answer

more_vert
 
verified
Best answer
isFile() returns true if called on a file and returns false when called on a directory.
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
...