```{index} single: is_qv; version function ``` ```{index} single: version::is_qv; Perl function ``` # is_qv Tell whether a version object is in dotted-integer form. ## Synopsis ```perl if ($v->is_qv) { ... } ``` Returns a true value for objects built via `declare` or `qv`, or from a string with two or more dots (e.g. `"1.2.3"`). Returns false for decimal versions like `"1.023"`. ## What you get back A boolean: `1` if the `qv` flag is set on the object, the empty string otherwise. ## Examples ```perl version->declare("v1.2.3")->is_qv; # 1 version->new("1.023")->is_qv; # "" version->new("1.2.3")->is_qv; # 1 — three components implies qv ``` ## Differences from upstream Fully compatible with upstream version {{ upstream.version }}. ## See also - `is_alpha` — the other introspection flag - `declare` — the common way to set the `qv` flag - `normal` — the stringification `is_qv` objects choose for `""`