FUNCTION::ISDIGIT(3stap)
β¨ FUNCTION::ISDIGIT π
okay so bestie, welcome to the SystemTap Tapset Reference, section 3stap β yes we're in the manual pages, and yes this one is a lil snack π
π NAME π
function::isdigit β checks for a digit, fr fr π’
πΈ SYNOPSIS πΈ
isdigit:long(str:string)
π¦ ARGUMENTS π¦
strβ the string you want to check, bestie. that's the one we're inspecting π
π DESCRIPTION π
So what it does is: it checks for a digit (0 through 9) as the first character of a string. That's it, that's the whole vibe. β¨
It returns non-zero if that's true (slay, it IS a digit), and a zero if it's false (not me getting a zero π).
Heads up bestie: it's looking at the first character, not the whole string. iykyk π
π SEE ALSO π
tapset::string(3stap)β go read this one too, it's giving related content π«Ά
and that's the whole page, periodt π tysm for reading, mwah π
sign-off vibes: this was the SystemTap Tapset Reference, and the date on the tin was September 2026 β the version field just says "Ver" and then nothing, so like, iconic mysterious queen behavior, we don't know the number π but everything else is exactly as it was, no cap π
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms