effect-ts-laws
    Preparing search index...

    Function testMonoid

    • Run the given monoid instance through the Monoid typeclass laws tests.

      Type Parameters

      • A

      Parameters

      • a: Arbitrary<A>

        An arbitrary for the underlying type A.

      • equalsA: Equivalence<A>

        Equivalence for the underlying type A.

      • Optionalparameters: ParameterOverrides

        Optional runtime fast-check parameters.

      Returns (Monoid: Monoid<A>, suffix?: string) => void

        • (Monoid: Monoid<A>, suffix?: string): void
        • Parameters

          • Monoid: Monoid<A>

            The monoid under test.

          • suffix: string = ''

            Optional suffix will be added to description() block label.

          Returns void