Interface: MonadTestCase<M, A>
Defined in: testing/laws/types.ts:126
Test case for monad law testing.
Type Parameters
M
M
A
A
Properties
functions?
optionalfunctions: (a) =>M[]
Defined in: testing/laws/types.ts:136
Monadic functions for testing left identity and associativity. Defaults to [of] if not provided.
Parameters
a
A
Returns
M
value
value:
A
Defined in: testing/laws/types.ts:130
Base value to test with.