Skip to content

Stats.isDirectory ​

JS
    boolean Stats.isDirectory()

Determine whether the current file is a directory

Return Value

  • boolean: Indicates whether the current file is a directory