fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

as_map

Sequence.as_map

convert this Sequence to a Map of type M
via mapping all elements to key value pairs

example, creating a map of squares:

Type Parameters

KEY:property.equatable[src]
VALUE:Any[src]
M:container.Map KEY VALUE[src]

Arguments

mapper Unary (tuple KEY VALUE) T[src]
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23