SHTK_VERSION_IS(3)

πŸ“¦ version 1.7, in nixos 26.05, nixpkgs unstable

πŸ’– NAME πŸ’–

Hey bestie, welcome to the SHTK_VERSION_IS(3) page from the Library Functions Manual! This one is all about shtk_version_is β€” the function that checks if shtk is a specific version. It’s giving exact-match energy, fr fr. πŸ¦‹βœ¨

πŸ“š LIBRARY πŸ“š

You pull this in with shtk_import version. Slay. πŸ’…

✨ SYNOPSIS ✨

shtk_version_is version

πŸŽ€ DESCRIPTION πŸŽ€

The shtk_version_is function checks if the version of the in-use shtk is exactly version. No vibes-based guessing, just a clean little version check. Periodt. 🌸

πŸ”₯ RETURN VALUES πŸ”₯

  • shtk_version_is returns 0 (true) if the in-use shtk is exactly version.
  • It returns 1 (false) otherwise.

🌈 EXAMPLES 🌈

Here’s the check in action, iconic behavior only:

             if shtk_version_is 1.8; then
                 # Test for a known bug, for example, and work it around.
             fi

🫢 SEE ALSO 🫢

Go peek at those too, bestie. Iykyk. πŸ‘‘

πŸ‘‘ HISTORY πŸ‘‘

shtk_version_is first appeared in shtk 1.5. A little legend behavior. ⭐


This page is from Debian, dated November 7, 2014, and it’s the SHTK_VERSION_IS(3) manual page β€” mwah, bye bestie! πŸ’‹βœ¨

πŸ“¦ where this page comes from