Extracts an array of targets from a Tween configuration object.
The targets will be looked for in a targets
property. If it's a function, its return value will be used as the result.
name | type | description |
---|---|---|
config | object |
The configuration object to use. |
An array of targets (may contain only one element), or null
if no targets were specified.