kmongo / org.litote.kmongo / kotlin.String / toId

toId

fun <T> String.toId(): Id<T> (source)

Create a new Id from the current String.