toPair

fun NameIdPair.toPair(): <Error class: unknown class><String?, String?>

Convert a NameIdPair to a Pair with NameIdPair.id as Pair.first and NameIdPair.name as Pair.second.


fun NameGuidPair.toPair(): <Error class: unknown class><UUID, String?>

Convert a NameGuidPair to a Pair with NameGuidPair.id as Pair.first and NameGuidPair.name as Pair.second.


fun NameValuePair.toPair(): <Error class: unknown class><String?, String?>

Convert a NameValuePair to a Pair with NameValuePair.name as Pair.first and NameValuePair.value as Pair.second.