Dokumentation zu: to_object(E)

HR Image

        object to_object(string arg)
        object to_object(closure arg)
        object to_object(object arg)


        The argument is converted into an object, if possible.

        For strings, the object with a matching object_name() is
        returned, or 0 if there is none, as find_object() does.

        For (bound!) closures, the object holding the closure is
        returned (for 'alien lfun closures' this is the object which
        created the closure, not the object the lfun is defined in).

        Objects and the number 0 return themselves.

        The cast notation only works if the precise type of <value>
        is known at compile-time. This will not be fixed - use the
        function form instead.

        find_object(E), to_array(E), to_int(E), to_string(E),

Die Seite ist auch in Deutsch vorhanden.

Start » Magierhandbuch » Docu » Efun » To_object Letzte Generierung: 25.04.2021, 01:58
Email an:
Valid HTML 4.01!