import { and } from '../../../../deps'
import isNumberish from './isNumberish'
import hasDecimals from './hasDecimals'
/**
* @since 5.0.0-beta.9
* @desc checks first for numberish, then decimals
* @name isNumberishWithDecimals
* @alias isFloat
*
* @param {*} x
* @return {boolean} x isNumberishWithDecimals
*
* @type {Function}
*/
const isNumberishWithDecimals = and(isNumberish, hasDecimals)
export { isNumberishWithDecimals }
export default isNumberishWithDecimals