function lt()

in src/legacy_fixme/coercions.php [95:103]


function lt(mixed $l, mixed $r)[]: bool {
  // avoid doing slow checks in super common case
  if ($l is string && $r is string) {
    return $l < $r;
  } else if ($l is num && $r is num) {
    return $l < $r;
  }
  return __cast_and_compare($l, $r, COMPARISON_TYPE::LT) === -1;
}