pub fn same_target(left: &Base, right: &Base) -> bool
What: Reports whether two target values are equal. Why: An unborn target equals only another unborn target.
In TS you’d write (pseudocode):
sameTarget({ left, right });