Skip to content

isInt

Basic usage

Pass in a value and get a boolean telling you if the value is an int.

import { isInt } from 'radash'
isInt(12) // => true
isInt(12.233) // => false
isInt('hello') // => false