We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I try to return Infinity as a result of a transformation, I'm getting a null:
Infinity
const {compile} = require("carmi"); describe('some suite', () => { it('returns Infinity', async () => { const model = { a: root.get('a').eq(true).ternary(Infinity, 0), } const modelFunction = eval(await compile(model)); const carmiModel = await modelFunction({a: true}, {}); expect(carmiModel.a).toEqual(Infinity) }) });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I try to return
Infinity
as a result of a transformation, I'm getting a null:The text was updated successfully, but these errors were encountered: