```{index} single: SvTYPE (B::SV) ``` ```{index} single: B::SV::SvTYPE ``` # 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.