Extracted from Pike v8.0 release 276 as of 2016-07-29.
   

Method Filesystem.Stat()->isdir()


Method isdir

bool isdir()

Description

Is the file (?) a directory?

Returns

1 if the file is of a specific type 0 if the file is not.

See also

[set_type]