Skip to content

NotUndefined

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

Overview

Type NotUndefined

Similar to the built-in NotNullable, but just for undefined

@author Jonathan Olson <jonathan.olson@colorado.edu>

import type { NotUndefined } from 'scenerystack/phet-core';

T extends undefined ? never : T

Source Code

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