export default defaultTo; /** * Returns the second argument if it is not null, `undefined` or `NaN`, otherwise returns the first argument. * * @since 1.4.87 * @category Logic * @param {any} defaultValue Any first value type * @param {any=} value2 Any first value type * @returns {any} Returns true or false. * @example * * defaultTo(1,2) * // => 2 */ declare function defaultTo(defaultValue: any, value2?: any | undefined): any;