# boolean Stats.isDirectory()

with Promise style call: Not supported

Mini Program plugin: Support, need to Mini Program base library version no less than 2.19.2

Determines if the current file is a directory

# Return value

# boolean

Indicates whether the current file has a directory