isInteger

Type:Function
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.is

Check if the passed value is an integer

Params

  1. value*-Mixed

    The value to check

Return

  1. -Boolean

    The check result

Example

import { isInteger } from '@blackbyte/sugar/is';
isInteger(10) => true
isInteger('hello') => false

Todo

  • testsnormal