MCPcopy
hub / github.com/greensock/GSAP / _parseFuncOrString

Function _parseFuncOrString

esm/gsap-core.js:3133–3135  ·  view source on GitHub ↗
(value, tween, i, target, targets)

Source from the content-addressed store, hash-verified

3131 }
3132},
3133 _parseFuncOrString = function _parseFuncOrString(value, tween, i, target, targets) {
3134 return _isFunction(value) ? value.call(tween, i, target, targets) : _isString(value) && ~value.indexOf("random(") ? _replaceRandom(value) : value;
3135},
3136 _staggerTweenProps = _callbackNames + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",
3137 _staggerPropsToSkip = {};
3138

Callers 2

_processVarsFunction · 0.70
TweenFunction · 0.70

Calls 4

callMethod · 0.80
_isFunctionFunction · 0.70
_isStringFunction · 0.70
_replaceRandomFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…