effect-ts-laws
    Preparing search index...

    Function testSemigroup

    • Run the given Semigroup instance through the Semigroup 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 (Semigroup: Semigroup<A>, suffix?: string) => void

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

          • Semigroup: Semigroup<A>

            The semigroup under test.

          • suffix: string = ''

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

          Returns void