function gte()

in src/legacy_fixme/coercions.php [137:145]


function gte(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::GT) !== -1;
}