Current File : //home/tradevaly/www/node_modules/collect.js/dist/methods/unwrap.js
'use strict';

module.exports = function unwrap(value) {
  if (value instanceof this.constructor) {
    return value.all();
  }

  return value;
};