Wongi.Engine.WME (Wongi.Engine v0.9.18)

View Source

A single fact.

Summary

Types

fact()

@type fact() :: t() | {term(), term(), term()}

t()

@type t() :: %Wongi.Engine.WME{object: any(), predicate: any(), subject: any()}

Functions

fetch(wme, field)

@spec fetch(t(), :subject | :predicate | :object) :: any()