Skip to main content
Deno.gid - Deno documentation
function Deno.gid
allow-sys
gid(): number | null
Returns the group id of the process on POSIX platforms. Returns null on windows. ```ts console.log(Deno.gid()); ``` Requires `allow-sys` permission.

Return Type

number | null