osRelease method

String osRelease()

Returns the release version of the Operating System.

console.log(Deno.osRelease());

Requires allow-sys permission. Under consideration to possibly move to Deno.build or Deno.versions and if it should depend sys-info, which may not be desirable.

Implementation

_i2.String osRelease() => _i3.callMethod(
      this,
      'osRelease',
      [],
    );