function instanceof(object, class)
local meta = getmetatable(object)
while meta and meta.__index do
function instanceof(object, class)
local meta = getmetatable(object)
while meta and meta.__index do
--- Create valid XML PCDATA from given string.
-- @param value String value containing the data to escape
-- @return String value containing the escaped data
--- Create valid XML PCDATA from given string.
-- @param value String value containing the data to escape
-- @return String value containing the escaped data