Skip to content

mapFingers

mapFingers<T>(mapFn): object

Mapping of fingers

Builds a mapped object where values of property for each FingerNames | finger name is evaluated by the provided mapping function.

Type Parameters

T

Type of a mapped object values

Parameters

mapFn

Function mapping a key to a value

Returns

object

Mapped object of fingers

index

index: T

middle

middle: T

pinky

pinky: T

ring

ring: T

thumb

thumb: T