SplitScript reference / Language / v
v
syntax
v"major.minor.build.private"
Constructs a checked Windows file-version literal.
A version literal contains exactly four decimal u16 components and has type FileVersion. It may also be used directly as a match pattern; an open-ended version match requires a wildcard arm. The quoted boundary keeps malformed versions from being parsed as unrelated numeric or member expressions.
Examples
Match a Windows file version
if version == v"1.2.3.4" { print("supported build") }