take

emlib.iterlib.take(seq, n)[source]

returns the first n elements of seq as a list

Return type:

list[TypeVar(T)]