[ buster ]
[ 原始碼: python-first ]
套件:python-first(2.0.0-2)
simple function that returns the first true value from an iterable
A MIT licensed Python package with a simple function that returns the first true value from an iterable, or None if there is none. If you need more power, you can also supply a key function that is used to judge the truth value of the element or a default value if None doesn’t fit your use case.
其他與 python-first 有關的套件
|
|
|
|