another example:

casted.then(function(val) {
  val === value // => true
});