ISODD
function ISODD(arg1: any = null): number | string | boolean
Description
Returns TRUE if the number is odd.
Parameters
- arg1
any
null Is the value to test.
Returns
number | string | boolean
Try It
const oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
var result = oFunction.ISODD("94");
oWorksheet.GetRange("C3").SetValue(result);