'use strict';

var isMotionValue = require('./is-motion-value.js');

/**
 * If the provided value is a MotionValue, this returns the actual value, otherwise just the value itself
 */
function resolveMotionValue(value) {
    return isMotionValue.isMotionValue(value) ? value.get() : value;
}

exports.resolveMotionValue = resolveMotionValue;
