@like2d/like
    Preparing search index...

    Variable mapConst

    map: <I, O>(op: UnOp<I, O>) => (a: Pair<I>) => Pair<O> = map2x1

    Turn a unary function into a pair-wise unary function.

    Type Declaration

    A function that takes one arg and returns something.

    A function that takes a pair such as [number, number] (Vector2) and transforms it with op.