Skip to main content

FALSE

Returns the - false logical value.

Syntax​

expression.FALSE();

expression - A variable that represents a ApiWorksheetFunction class.

Parameters​

This method doesn't have any parameters.

Returns​

boolean

Example​

Return the false logical value in a spreadsheet.

// Get the boolean false value.

// Apply FALSE function to return false in a spreadsheet.

const worksheet = Api.GetActiveSheet();
let func = Api.WorksheetFunction;
let ans = func.FALSE(); //returns false, doesnt require arguments
worksheet.GetRange("C1").SetValue(ans);