import { AnimationTarget , PropertyResolver , PropertyFunction } from '../core/types' ; import { isFunction } from './inspect' ; /**
 *  Resolves the property/value of an animation
 */ export function resolveProperty < T1 > ( input , target , index , len ) { return isFunction ( input ) ? resolveProperty ( ( input as PropertyFunction < T1 > ) ( target , index , len ) , target , index , len ) : ( input as T1 ) ; }