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 πŸ‘‘


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