Skip to main content

same_target

Function same_target 

Source
pub fn same_target(left: &Base, right: &Base) -> bool
Expand description

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 });