Skip to content

getGlobal

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/phet-core/blob/main/js/getGlobal.ts for the most up-to-date information.

Overview

Support gracefully getting a global object to itself. Returns null if the global doesn't exist. @author Sam Reid (PhET Interactive Simulations) @author Michael Kauzmann (PhET Interactive Simulations)

Source Code

See the source for getGlobal.ts in the phet-core repository.