@like2d/like
    Preparing search index...

    Variable map2Const

    map2: <I, O>(op: BinOp<I, O>) => (a: Pair<I>, b: I | Pair<I>) => Pair<O> = map2x2

    Turn a binary function into a pair-wise binary function, for example one that operates on two Vector2s.

    Type Declaration

    A function that takes two values and calculates one.

    A function that runs op pair-wise on both arguments, constructing a new pair.