Skip to content

Taxum / @taxum/core / layer / layerTuple

Function: layerTuple()

layerTuple<Layers>(...layers): LayerTuple<Layers>

Defined in: layer/tuple.ts:11

Combines one or more layers into a composite layer.

Layers defined as a tuple are applied from the inside out. This means that the last layer becomes the innermost layer, while the first layer becomes the outermost layer.

Type Parameters

Layers

Layers extends readonly [AnyLayer, AnyLayer]

Parameters

layers

...LayerChain<Layers>

Returns

LayerTuple<Layers>