SHTK_LIST_CONTAINS(3)
π SHTK_LIST_CONTAINS(3) π
okay so bestie, welcome to shtk_list_contains β it's a Library Functions Manual page and honestly? iconic. This is the shtk girlies' list-checking era and we're living for it. π
πΈ NAME πΈ
shtk_list_contains β literally checks if an item appears in a list, no cap πβ¨
π LIBRARY π
shtk_import list
like, that's the import you need. that's the whole vibe. don't forget it π«Ά
β¨ SYNOPSIS β¨
shtk_list_contains item [list_value1 .. list_valueN]
π DESCRIPTION π
okay so here's the tea β β shtk_list_contains goes searching for item inside the list you hand it, which is everything in list_value1 through list_valueN. it's giving "where's my bestie in this crowd" energy fr fr.
and listen, important detail, don't skip this part π β each list value has to be passed in as its own separate positional parameter. one value, one parameter. that's the whole rule, no bundling, no shortcuts, periodt. π
π₯ RETURN VALUES π₯
shtk_list_containsreturns0(true) ifitemappears in the list β slay, it's there β¨- and it returns
1(false) if it does not appear β not found, bestie, it's giving π
π SEE ALSO π
go read those too, iykyk π¦
β HISTORY β
shtk_list_contains first appeared in shtk 1.0 β a true main character debut, we love to see it π
and that's the whole page, bestie π this one's from Debian, dated November 7, 2014 β vintage but still ate, mwah π«Άβ¨
π¦ where this page comes from
- nixos 26.05: shtk 1.7
- nixpkgs unstable: shtk 1.7
- Copyright 2014 Google Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms