declare let process ; declare let window ; declare let navigator ; export function isNode ( ) { return ! ! ( process && process . release && process . release . name === 'node' ) ; } export function isDeno ( ) { return ! ! ( window && window . Deno && window . Deno . version && window . Deno . version ) ; } export function isBrowser ( ) { return navigator && 'userAgent' in navigator ; }