required¶
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/required.ts for the most up-to-date information.
Overview¶
Validates that the passed in entry exists and returns that value if validation is successful.
@author Denzell Barnett (PhET Interactive Simulations)
Source Code¶
See the source for required.ts in the phet-core repository.