isNumber

Navigation:  NxLib API > C++ Interface > NxLibItem >

isNumber

Previous pageReturn to chapter overviewNext page

Returns whether the item is of type Number or not.

Signatures

Variants throwing exceptions on API errors:

bool isNumber() const

Variants returning API errors as int* parameter:

bool isNumber(int* returnCode) const

Parameters

returnCode

The error code returned when accessing the item.

Return Value

true if the item was of the corresponding JSON type, otherwise false