# is_dict

Definition: | bool d = is_dict(object tid)
Description: | A simple function that can be used to determine whether something is plausibly a valid dictionary index.
pwa/p2js: | Supported.
Comments: | As noted in using types (although this is a function, not a type), you should not overly rely on the result of this or other similar functions, although you can always trust it when it says definitely not.
Example: |
    integer tid = new_dict()
    if not is_dict(tid) then ?9/0 end if
See Also: | new_dict
Technicalia | In truth, I would prefer "global type dictionary", but "forward type" has not yet been implemented/tested, and the equivalent would be needed in psym.e to replace the existing initialAutoEntry("is_dict",S_Func,..) entry.