variant

suspend fun variant(): SimpleVariant?

Function to get the current variant in the VCF file. This doesn't advance to the next variant. Every call to this function will return the same variant until advanceVariant is called. Returns null if there are no more variants for this reader.