Spek.Literal (Spek v0.2.0)

Copy Markdown View Source

Struct that represents an authorization rule that evaluates to a fixed value.

Summary

Types

t()

@type t() ::
  %Spek.Literal{result: Spek.truthy(), satisfied?: true}
  | %Spek.Literal{result: Spek.falsy(), satisfied?: false}