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

This example shows how to return the false logical value.

// How to get false value.

// Use function to get a boolean false.

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