/** * @module lodash-ts/toArray * @example * import toArray from 'lodash-ts/toArray'; * * toArray({ 'a': 1, 'b': 2 }); * // => [1, 2] * * toArray('abc'); * // => ['a', 'b', 'c'] * * toArray(1); * // => [] * * toArray(null); * // => [] * @see _.toArray */ /** * Converts `value` to an array. * * @static * @since 0.1.0 * @memberOf _ * @category Lang * @param {*} value The value to convert. * @returns {Array} Returns the converted array. * @example * * _.toArray({ 'a': 1, 'b': 2 }); * // => [1, 2] * * _.toArray('abc'); * // => ['a', 'b', 'c'] * * _.toArray(1); * // => [] * * _.toArray(null); * // => [] */ export default function toArray(value: any): any[];