Skip to content

SunUtil

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/sun/blob/main/js/SunUtil.ts for the most up-to-date information.

Overview

Utility functions for sun.

@author Sam Reid (PhET Interactive Simulations)

Class SunUtil

import { SunUtil } from 'scenerystack/sun';

Static Methods

validateLinkedElementInstrumentation( component : Node, property : PhetioProperty<IntentionalAny> )

Assertions to remind devs that there should be a LinkedElement to the associated Property and that the Property itself should be featured.

Source Code

See the source for SunUtil.ts in the sun repository.