Background for Skyrim SE
Member of the StringUtil script
boolfunctionIsDigit(stringc)NativeGlobal

Description

Wiki Description

Returns whether the character is a digit or not. (This function requires SKSE)


Caveats

CK Wiki - Notes

None


Parameters

stringc

CK Wiki Description

The character to check.


Examples

; Checks whether 1 is a digit or not.
string test = "1"
if(isdigit(test))
  debug.notification("Given character is a digit!")
else
  debug.notification("Given character is a letter!")
endif

Auto-Generated Example

string myString__c

bool returnedValue = StringUtil.IsDigit(myString__c)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.