file: job.t package: muf status: alpha
The get?
function takes an object and a key, and
returns the corresponding public value on the object (else
nil
) on top of a flag recording whether the key was found:
makeIndex --> o Stack: 1 --> o.a Stack: o "a" get? Stack: t 1 pop pop o "z" get? Stack: nil nil
Note: This function is mostly useful when you care about the
difference between a key which is missing, and one which has
nil
as a value.
See section get. See section functions for nonpublic keyvals.
Go to the first, previous, next, last section, table of contents.