ensuringArgumentIsRef

Ensures the argument at index is a Ref -- resolving it first if it is a $Alias dealiasing expression -- returning this request for chaining, as the other ensuringArgumentIs* helpers in it.unibo.tuprolog.solve.primitive.PrimitiveWrapper do.

Throws