mixin

adds properties of the 'source' object into the 'target' object

void mixin(object target,object source,boolean force);
targetobjectthe target object
sourceobjectthe source object
forcebooleanif true, properties of the 'source' will overwrite the matching properties of the 'target', if there are any. If false, the properties that already exist in the 'target' will be omitted

Example

scheduler.mixin(target, source, force);

Change log

added in version 6.0

Back to top