Explorer

html-ui.min-found

description
The smaller of two indexes of core.string-index-of, ignoring -1 (not found). -1 if both are -1
type
Fn(a: Number, b: Number) -> Number
expression
fn(a$0, b$1) =>
  match @core.less-than(left: $0, right: 0) {
    true =>
      $1,
    false =>
      match @core.less-than(left: $1, right: 0) {
        true =>
          $0,
        false =>
          match @core.less-than(left: $0, right: $1) {
            true =>
              $0,
            false =>
              $1
          }
      }
  }
visibility
public
html-ui.min-found (project html-ui, branch main, snapshot Daaw3vbJhY15cDW6JsA4JuXvffjj_qFyxoZQMUM8hvQ)
id: jUHlaRy970_TglpLPTM8uUzxUrqMepbUUO54VN99NgI
content hash: 4Idl6fyI8RP36hNOIvam-zThiIdDx_TG_s7WdPVO6Cg