uid method

num? uid()

Returns the user id of the process on POSIX platforms. Returns null on Windows.

console.log(Deno.uid());

Requires allow-sys permission.

Implementation

_i2.num? uid() => _i3.callMethod(
      this,
      'uid',
      [],
    );