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