var isReference = function (value) {
    var type = typeof value;

    return type === 'function' || (type === 'object' && value !== null);
};