name:
src/main/js/formulas/logic/FALSE.ts
-rw-r--r--
492
1import { SheetColumnRowKey } from "../../models/common/SheetColumnRowKey";
2import { Complex } from "../../models/common/Types";
3import { AbstractFormula } from "../AbstractFormula";
4import { FormulaName } from "../FormulaName";
5
6export class FALSE extends AbstractFormula {
7 static SELF: FALSE = new FALSE();
8 NAME = FormulaName.FALSE;
9
10 internal(origin: SheetColumnRowKey, ...values: Array<Complex>) {
11 AbstractFormula.checkLength(values.length, 0, this.NAME);
12 return false;
13 }
14}