sv_svtype#

Return the SV type as a numeric SVt_* code.

Synopsis#

if ($sv->SvTYPE == B::SVt_PVCV) { ... }

Compare against B::SVt_NULL, B::SVt_IV, B::SVt_PVCV, etc. The blessed class of the wrapper already encodes the type at a coarser granularity; SvTYPE is the precise value.