bool isDirectory
read-only

Is true if the event target was a directory.