Skip to content

Home › Overview › ink

map_primitives ​

Returns a new composite with fn applied to a copy of each primitive.

Functions ​

map_primitives ​

luau
map_primitives<A...>(c: types.Composite, fn: (types.Primitive, A...) -> (), ...: A...): types.Composite