keyFor

fun keyFor(intent: Intent): NavKey?(source)

The destination intent asks for, from the first deep link that recognises it, or null when none does or the destination is not registered.