std::experimental::filesystem::is_directory
Min standard notice:
Header: <experimental/filesystem>
Checks if the given file status or path corresponds to a directory.
# Declarations
bool is_directory( file_status s );
(filesystem TS)
bool is_directory( const path& p );
(filesystem TS)
bool is_directory( const path& p, error_code& ec );
(filesystem TS)
# Parameters
s: file status to checkp: path to queryec: error code to modify in case of errors
# Return value
true if the given path or file status corresponds to a directory, false otherwise.