Skip to main content
Log in

Mojo function

unlikely

unlikely(val: Bool) -> Bool

Provides information that the most probable value of val is going to be False. This information can be used by optimizers.

Args:

  • val (Bool): The input value which is likely to be False most of the time.

Returns:

The input value.