Extracted from Pike v8.0 release 164 as of 2016-02-09.
   

Method Filesystem.Stat()->isreg()


Method isreg

bool isreg()

Description

Is the file a regular file?

Returns

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

See also

[set_type]