Permit.Permissions.ParsedCondition (permit v0.0.3)

ParsedCondition

Link to this section Summary

Link to this section Types

Link to this type

condition_type()

@type condition_type() :: :const | :function_1 | :function_2 | {:operator, module()}
@type t() :: %Permit.Permissions.ParsedCondition{
  condition:
    boolean()
    | {atom(), (struct(), struct() -> any())}
    | (struct(), struct() -> boolean())
    | (struct() -> boolean()),
  condition_type: condition_type(),
  not: boolean(),
  private: map(),
  semantics: (any(), struct(), struct() -> boolean())
}

Link to this section Functions

Link to this function

satisfied?(parsed_condition, record, subject)