Skip to main content

thinValueMargin

Return the chip-EV margin of a thin value bet.

thinValueMargin(heroEquityWhenCalled: number, pot: number, betSize: 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

Use thinValueMargin when you need to return the chip-EV margin of a thin value bet.

How to use

const poker = require('poker-calculations');
const range = new Float64Array(1326);
range.fill(1 / 1326);

const result = poker.thinValueMargin(range, range, ['Qh', 'Jh', '2c'], 100, [33, 66, 100]);
console.log(result);

See also

betAsPotFraction · expectedValueRaise