VE Lua Documentation

Press F to search!

istype

Definition


-- @/=[C]:-1
function istype(...)

Callers

@/lua/ge/extensions/flowgraph/nodes/math/math.lua
  if type(result) == 'cdata' then
    if ffi.istype('struct __luaVec3_t', result) then
      self.pinOut.value.value = {result.x, result.y, result.z}
@/lua/common/libs/LuLPeg/lulpeg.lua
    end
    function isboolset(s) return type(s)=="cdata" and ffi.istype(s, boolset_constructor) end
    isbyteset = isboolset
@/lua/common/mathlib.lua
    return newLuaQuatxyzw(a.x*b, a.y*b, a.z*b, a.w*b)
  elseif (ffi and ffi.istype('struct __luaVec3_t', b)) or b.w == nil then
    local qv = newLuaVec3xyz((push3(a):cross(b) * 2):xyz())