isDirectory property

Is true if the event target was a directory.

bool isDirectory
read-only

Is true if the event target was a directory.