isBigInt
Check if the input parameter is a bigint.
Added in v0.0.1
Usage
ts
import { isBigInt } from 'parsnip-kit'
isBigInt(BigInt(123)) // true
isBigInt(123) // false
isBigInt(NaN) // false
isBigInt(Infinity) // falseAPI
Arguments
Arguments
| Arg | Type | Optional | Default | Description |
|---|---|---|---|---|
arg | any | false | undefined | Parameters for check |
Returns
| Type |
|---|
boolean |