is_dir

The is_dir method checks if the supplied path is a directory.

Syntax

is_dir( path )

Arguments

Argument Description
path (string) The path to check.

Returns

(Boolean). Returns true if the supplied path is a directory, false otherwise.


© 2014 Hewlett-Packard Development Company, L.P.