Spek.AnyOf (Spek v0.2.0)

Copy Markdown View Source

Struct that represents a combination of checks one of which must be true.

An Or without children evaluates to false.

Summary

Types

t()

@type t() :: %Spek.AnyOf{children: [Spek.expression()], satisfied?: boolean() | nil}