```{index} single: sv_svtype; B function ``` ```{index} single: B::sv_svtype; Perl function ``` # sv_svtype Return the SV type as a numeric `SVt_*` code. ## Synopsis ```perl 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.