effect-ts-laws
    Preparing search index...

    Interface Isomorphism<A, B>

    A typeclass for lossless bidirectional conversion between two encodings.

    interface Isomorphism<A, B> {
        from: (to: B) => A;
        to: (from: A) => B;
    }

    Type Parameters

    • A
    • B
    Index

    Properties

    Properties

    from: (to: B) => A
    to: (from: A) => B