isdir (npm): check if a descriptor is a directory.
Keywords: is|directory|check