Skip to main content

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 be True most of the time.

Returns:

The input value.