Source

semanticeditor / semanticeditor / utils / general.py

Full commit
1
2
3
4
5
6
7
8
9
"""
Generic utilities
"""

def any(seq):
    for i in seq:
        if i:
            return True
    return False