Description
For compatibility reasons functions =TRUE() and =FALSE() should allow to leave off the parenthesis. =TRUE and =FALSE should be an alias to the corresponding function. Supported by Excel and Google Spreadsheet.
Add tests
TRUE
it('works without parenthesis', () => {
const engine = HyperFormula.buildFromArray([['=TRUE']])
expect(engine.getCellValue(adr('A1'))).toEqual(true)
})
FALSE
it('works without parenthesis', () => {
const engine = HyperFormula.buildFromArray([['=FALSE']])
expect(engine.getCellValue(adr('A1'))).toEqual(false)
})
Reference
https://support.office.com/en-us/article/true-function-7652c6e3-8987-48d0-97cd-ef223246b3fb
Description
For compatibility reasons functions
=TRUE()and=FALSE()should allow to leave off the parenthesis.=TRUEand=FALSEshould be an alias to the corresponding function. Supported by Excel and Google Spreadsheet.Add tests
TRUE
FALSE
Reference
https://support.office.com/en-us/article/true-function-7652c6e3-8987-48d0-97cd-ef223246b3fb