transient - returns whether a value is stored in the dynamic memory pool
oadl::transient(val)
val.transient()
OADL has two memory pools - a "permanent" pool and the
default dynamic memory pool. The transient()
intrinsic procedure and intrinsic method may be used to query whether
a dynamic value is stored in the default dynamic pool.
true if val is stored in the default
dynamic memory pool, and false otherwise.
TypeCheck if val is not a dynamic value
a = [1,2,3]
b = oadl::perm(a)
a.transient()
true
b.transient()
false