Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
function Deno.gid
allow-sys

Returns the group id of the process on POSIX platforms. Returns null on windows.

console.log(Deno.gid());

Requires allow-sys permission.

Returns

number | null