Library API
⬅ Back to Guides
Preparing search index...
common.index
isDigits
Function isDigits
isDigits
(
obj
:
unknown
)
:
obj
is
string
Type guard to check if a value is an integer digits string (e.g. '123')
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 an integer digits string (e.g. '123')