Previous: Asynchronous calls, Up: Objects [Contents][Index]
Goblins comes with a variety of predicates for identifying and working with objects. While these are primarily for internal use, they are also helpful when defining custom vat code.
Return #t
if obj is an object in the current process,
else #f
.
Return #t
if obj is a promise in the current process,
else #f
.
Return #t
if obj is an object or promise in the current
process, else #f
.
Return #t
if obj is an object in a different process,
else #f
.
Return #t
if obj is a promise in a different process,
else #f
.
Return #t
if obj is an object or promise in a different
process, else #f
.
Return #t
if maybe-promise is a local or remote promise,
else #f
.
Return #t
if obj is a local or remote object or promise,
else #f
.
Return #t
if obj is a near object or promise, else
#f
.
Return #t
if obj is a far object or promise, else
#f
.
Previous: Asynchronous calls, Up: Objects [Contents][Index]