Ex4pmEngine.DAPN.Guard (ex4pm v26.9.9)

Copy Markdown View Source

Summary

Types

op()

@type op() :: :eq | :neq | :gt | :gte | :lt | :lte | :in | :and | :or | :not

t()

@type t() ::
  {:attr, key :: String.t() | atom(), op(), value :: any()}
  | {:ref, key1 :: String.t() | atom(), op(), key2 :: String.t() | atom()}
  | {:diff, key1 :: String.t() | atom(), key2 :: String.t() | atom(), op(),
     expected :: any()}
  | {:sum, keys :: [String.t() | atom()], op(), expected :: any()}
  | {:and, [t()]}
  | {:or, [t()]}
  | {:not, t()}
  | :always_true