//workflow/com.squareup.workflow1.ui/compatible
compatible¶
[jvm]
Content
@WorkflowUiExperimentalApi()
fun compatible(me: Any, you: Any): Boolean
More info
Normally returns true if me and you are instances of the same class. If that common class implements Compatible, both instances must also have the same Compatible.compatibilityKey.
A convenient way to take control over the matching behavior of objects that don’t implement Compatible is to wrap them with NamedScreen.