folder::type()

Corresponding method to File::type() which makes it possible to filter a collection of files and directories by type.

  • return (string)