UNPKG

abbott-methods

Version:

abbott,methods,method,functions,function

9 lines (8 loc) 239 B
import { typeNumber } from './typeNumber' /** * @description 是否float类型 * @param {*} typeValue * @returns {Boolean} */ export const typeFloat = (typeValue: any): boolean => typeNumber(typeValue) && typeValue % 1 !== 0