FreeBSD.software
Home/devel/py311-first

py311-first

2.0.2_1

Return the first true value of an iterable

first is an 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.

Origin: devel/py-first
Category: devel
Size: 15.3KiB
License: MIT
Maintainer: sunpoet@FreeBSD.org
Dependencies: 1 packages
Required by: 0 packages
$pkg install py311-first

Dependencies (1)

More in devel