Skip to content

gracefulBind

Overview

Support gracefully binding a global function 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 gracefulBind.ts in the phet-core repository.