Skip to content

identity

Overview

Function that returns its input. This was added as an alternative to _.identity because WebStorm did not provide as good navigation for _.identity.

@author Sam Reid (PhET Interactive Simulations)

Source Code

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