spreadsheet
typeScript/javascript spreadsheet parser, with formulas.
git clone https://git.vogt.world/spreadsheet.git
Log | Files | README.md
← All files
name: dist/Formulas/Logical.d.ts
-rw-r--r--
2058
 1/**
 2 * Returns true if all of the provided arguments are logically true, and false if any of the provided arguments are
 3 * logically false.
 4 * @param values At least one expression or reference to a cell containing an expression that represents some logical
 5 * value, i.e. TRUE or FALSE, or an expression that can be coerced to a logical value.
 6 * @returns {boolean} if all values are logically true.
 7 * @constructor
 8 */
 9declare let AND: (...values: any[]) => boolean;
10/**
11 * Tests whether two strings are identical, returning true if they are.
12 * @param one - The first string to compare
13 * @param two - The second string to compare
14 * @returns {boolean}
15 * @constructor
16 */
17declare let EXACT: (one: any, two: any) => boolean;
18/**
19 * Returns true.
20 * @returns {boolean} true boolean
21 * @constructor
22 */
23declare let TRUE: () => boolean;
24/**
25 * Returns false.
26 * @returns {boolean} false boolean
27 * @constructor
28 */
29declare let FALSE: () => boolean;
30/**
31 * Returns the opposite of a logical value - NOT(TRUE) returns FALSE; NOT(FALSE) returns TRUE.
32 * @param value - An expression or reference to a cell holding an expression that represents some logical value.
33 * @returns {boolean} opposite of a logical value input
34 * @constructor
35 */
36declare let NOT: (value: any) => boolean;
37/**
38 * Returns true if any of the provided arguments are logically true, and false if all of the provided arguments are
39 * logically false.
40 * @param values An expression or reference to a cell containing an expression that represents some logical value, i.e.
41 * TRUE or FALSE, or an expression that can be coerced to a logical value.
42 * @returns {boolean}
43 * @constructor
44 */
45declare let OR: (...values: any[]) => boolean;
46/**
47 * Exclusive or or exclusive disjunction is a logical operation that outputs true only when inputs differ.
48 * @param values to check for exclusivity.
49 * @returns {boolean} returns true if only one input is considered logically true.
50 * @constructor
51 */
52declare let XOR: (...values: any[]) => boolean;
53export { AND, EXACT, TRUE, FALSE, NOT, OR, XOR };