Syntax
isgroup(string[,string])
Description
The isgroup() function returns true if the path points to a file that belong to the specified group. If no group is declared then the applications gid is used.
Example
include("file") println(isgroup("/etc/passwd", "root")) // Is /etc/passwd group root println(isgroup("/etc/passwd", "0")) // Is /etc/passwd group root println(isgroup("/etc/passwd", "users")) // Is /etc/passwd group users println(isgroup("/etc/passwd")) // Is /etc/passwd group the same as the gid of the calling user true true false