@r47onfire/backolon - v0.0.0
    Preparing search index...

    Function makePrimitiveReference

    • Return a reference, which can be used as a value like normal, but also assigned to to change its value.

      Parameters

      • startArgs: Thing<string | ThingType>[]

        The unevaluated arguments to prepend to the calls to the getter and setter functions (usually item/key etc)

      • getter: string

        The name of the native function implementing the get functionality (will be called with the startArgs)

      • setter: string

        The name of the native function implementing the set functionality (will be called with the startArgs plus the value to set to)

      • env: Thing<env> | Thing<nil>

        The env that the startArgs should be evaluated in

      • loc: LocationTrace

      Returns Thing<reference>