import _curry1 from './internal/_curry1.js';import _isArguments from './internal/_isArguments.js';import _isArray from './internal/_isArray.js';import _isObject from './internal/_isObject.js';import _isString from './internal/_isString.js';import _isTypedArray from './internal/_isTypedArray.js';
var empty = _curry1(function empty(x) { return ( (x != null && typeof x['fantasy-land/empty'] === 'function') ? x['fantasy-land/empty']() : (x != null && x.constructor != null && typeof x.constructor['fantasy-land/empty'] === 'function') ? x.constructor['fantasy-land/empty']() : (x != null && typeof x.empty === 'function') ? x.empty() : (x != null && x.constructor != null && typeof x.constructor.empty === 'function') ? x.constructor.empty() : _isArray(x) ? [] : _isString(x) ? '' : _isObject(x) ? {} : _isArguments(x) ? (function() { return arguments; }()) : _isTypedArray(x) ? x.constructor.from('') : void 0 );});export default empty;