common

abstract fun common(output1: T, output2: T): T

Eg common("foobar", "food") -> "foo"