Skip to content

kirin.dialects.ilist.for_each

← Module overview

functionfor_eachsource

kirin.dialects.ilist.for_each

Signature
def for_each(fn: typing.Callable[[ElemT], typing.Any], collection: IList[ElemT, LenT] | list[ElemT]) -> None

Parameters

NameTypeDescription
fntyping.Callable[[ElemT], typing.Any]
collectionIList[ElemT, LenT] | list[ElemT]
source