yards

fun yards(value: Int): Distance
fun yards(value: Long): Distance
fun yards(value: Double): Distance

Creates a Distance instance from the given value in yards.


A Distance equal to this Int number of yards.


A Distance equal to this Long number of yards.


A Distance equal to this Double number of yards.