identity¶
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/identity.ts for the most up-to-date information.
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.