extendDefined¶
Overview¶
Like phet-core's extend, but does not overwrite properties with undefined values.
For example:
extendDefined( { a: 5 }, { a: undefined } ) will return { a: 5 }
@author Jonathan Olson <jonathan.olson@colorado.edu>
Source Code¶
See the source for extendDefined.ts in the phet-core repository.