Library API
⬅ Back to Guides
Preparing search index...
common.index
isIntegerLike
Variable isIntegerLike
Const
isIntegerLike
:
(
obj
:
unknown
)
=>
obj
is
string
= isBigIntLike
Type Declaration
(
obj
:
unknown
)
:
obj
is
string
Type guard to check if a value is a BigInt literal string (e.g. '123n')
Parameters
obj
:
unknown
Returns
obj
is
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
⬅ Back to Guides
Library API
Loading...
Type guard to check if a value is a BigInt literal string (e.g. '123n')