Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

getSheet

Returns a sheet useable in the current environment.

function getSheet(useDOMSheet?: boolean, disableResume?: boolean): Sheet<string[] | HTMLStyleElement | CSSStyleSheet>;
§
getSheet(useDOMSheet?: boolean, disableResume?: boolean): Sheet<string[] | HTMLStyleElement | CSSStyleSheet>
[src]

§Parameters

§
useDOMSheet?: boolean optional
[src]

usually something like process.env.NODE_ENV != 'production' or import.meta.env.DEV (default: browser=cssom, server=virtual)

§
disableResume?: boolean optional
[src]

to not include or use resume data

§Return Type

§
Sheet<string[] | HTMLStyleElement | CSSStyleSheet>
[src]

a sheet to use