Get

public struct Get: Fn

Retrieves the instance identified by ref. If the instance does not exist, an “instance not found” error will be returned. Use the exists predicate to avoid “instance not found” errors. Reference.

  • Declaration

    Swift

    public init(_ ref: Expr, ts: Expr? = nil)

    Parameters

    ref

    Reference to the intance to retrive.

    ts

    If ts is passed Get retrieves the instance specified by ref parameter at specific time determined by ts parameter.