Current File : /home/tradevaly/text.tradevaly.com.bd/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;
};