TCollapsePropertyValue¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/axon/blob/main/js/TCollapsePropertyValue.ts for the most up-to-date information.
Overview¶
Provides the value type of either a direct type OR the value of a Property (if it's a Property)
e.g. CollapsePropertyValue<number> is number e.g. CollapsePropertyValue<Property<number>> is number
@author Jonathan Olson <jonathan.olson@colorado.edu>
Type TCollapsePropertyValue¶
T extends TReadOnlyProperty<infer Value> ? Value : T
Source Code¶
See the source for TCollapsePropertyValue.ts in the axon repository.