Coerces one table cell from text using the column's type, accepting yes/no for booleans.
yes
no
import { coerceTableValue } from '@datamoc/mw_games/mwl';console.log(coerceTableValue('3', 'number', 'cost')); // 3 Copy
import { coerceTableValue } from '@datamoc/mw_games/mwl';console.log(coerceTableValue('3', 'number', 'cost')); // 3
Coerces one table cell from text using the column's type, accepting
yes/nofor booleans.