Mojo function
likely
likely(val: Bool) -> Bool
Provides information that the most probable value of val
is going to be True
. This information can be used by optimizers.
Args:
- val (
Bool
): The input value which is likely to beTrue
most of the time.
Returns:
The input value.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!