Checks that this output carries a as an inline datum.
Checks that this output carries a as an inline datum.
Compares the whole OutputDatum with ===, one equalsData around one constrData. Measured at 286 lovelace against 461 for datum.inlineOrFail[A](msg) === a, which takes the OutputDatum apart and then rewraps the decoded value before comparing. Use datum.inlineOrFail when the datum's fields are needed; use this when only its equality is.