Explorer

std.min

description
Return the smaller of two numbers
type
Fn(a: Number, b: Number) -> Number
expression
fn(a$1, b$2) =>
  match @core.less-than(left: $1, right: $2) {
    true =>
      $1,
    false =>
      $2
  }
visibility
public
std.min (project definy, branch compiled-tests, snapshot i6TqClmqVS9FK8rKOvJ43l6Tevx8pvYJ5-zaQqNwemc)
id: H4O0IbezmI-SP8sAJhRAeC5oFLq89LXHQOw1UbA8AZk
content hash: L4CdUDYu2otNzAfWpBCZVtv9bg9JCbNm4jLSQVX9R1E