Deno.osRelease

UNSTABLE: New API, yet to be vetted.

Returns the release version of the Operating System.

console.log(Deno.osRelease());

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

function osRelease(): string;
§
osRelease(): string
[src]

§Return Type

§
string
[src]