breakevenCallEquityWithPostedAnte
Breakeven when hero still posts ante.
breakevenCallEquityWithPostedAnte(potBeforeCall: number, toCall: number, anteToPost: number): number
Import
const poker = require('poker-calculations');
ESM (Node):
import { createRequire } from 'module';
const require = createRequire(import.meta.url);
const poker = require('poker-calculations');
When to use
Breakeven when hero still owes an ante on top of the call: (toCall + ante) / (pot + toCall + ante).
How to use
const potBeforeCall = 100;
const toCall = 50;
const ante = 10;
const need = poker.breakevenCallEquityWithPostedAnte(potBeforeCall, toCall, ante);
const hu = poker.breakevenCallEquity(potBeforeCall, toCall);
console.log({ need, hu }); // need > hu when ante > 0