View Source Retex.Fact.HasAttribute (retex v0.1.10)

Attribute values that a Wme should have in order for this condition to be true

Link to this section Summary

Link to this section Types

@type attribute() :: String.t() | atom()
@type fields() :: [
  owner: owner(),
  attribute: attribute(),
  predicate: predicate(),
  value: value()
]
@type owner() :: String.t() | atom()
@type predicate() :: :== | :=== | :!== | :!= | :> | :< | :<= | :>= | :in
@type t() :: %Retex.Fact.HasAttribute{
  attribute: attribute(),
  owner: owner(),
  predicate: predicate(),
  value: value()
}
@type value() :: any()

Link to this section Functions

@spec new(fields()) :: t()