Skip to main content

strict_eq

Function strict_eq 

Source
pub fn strict_eq<A: IVm>(a: Any<A>, b: Any<A>) -> Result<Any<A>, Any<A>>
Expand description

=== as an operator result. == on Any is exactly JavaScript’s ===, but it yields a bool and so pins neither operand’s A; this gives both the same one and lifts the answer into the Result every other operator returns, so a printed === is a statement like any other operator’s.