blob: bb577f059915b84150f0ab5a703a73fd6e6c61d2 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
2 object to_object(string arg)
3 object to_object(closure arg)
4 object to_object(object arg)
5
6DESCRIPTION
7 The argument is converted into an object, if possible.
8 For strings, the object with a matching object_name() is
9 returned, or 0 if there is none, as find_object() does.
10 For (bound!) closures, the object holding the closure is
11 returned.
12 Objects and the number 0 return themselves.
13
14SEE ALSO
15 find_object(E), to_array(E), to_int(E), to_string(E)