LogoPixi’VN
indexInterfaces

Interface: PixiVNJsonArithmeticOperationsArithmetic

Defined in: src/schema/PixiVNJsonArithmeticOperations.ts:8

Binary arithmetic operation between two values (left OP right).

Properties

leftValue

> leftValue: PixiVNJsonArithmeticOperations | StorageElementType | PixiVNJsonValueGet | PixiVNJsonConditionalStatements<PixiVNJsonArithmeticOperations | StorageElementType | PixiVNJsonValueGet>

Defined in: src/schema/PixiVNJsonArithmeticOperations.ts:13

Left value of the arithmetic operation


operator

> operator: "*" | "/" | "+" | "-" | "%" | "POW" | "RANDOM" | "INTERSECTION"

Defined in: src/schema/PixiVNJsonArithmeticOperations.ts:41

Operator of the arithmetic operation:

  • "*" multiplication
  • "/" division
  • "+" addition (concatenation for strings and arrays)
  • "-" subtraction (removal of elements for arrays)
  • "%" modulo
  • "POW" exponentiation
  • "RANDOM" random integer between leftValue and rightValue (inclusive)
  • "INTERSECTION" intersection of two arrays (only elements present in both arrays are included in the result)

rightValue

> rightValue: PixiVNJsonArithmeticOperations | StorageElementType | PixiVNJsonValueGet | PixiVNJsonConditionalStatements<PixiVNJsonArithmeticOperations | StorageElementType | PixiVNJsonValueGet>

Defined in: src/schema/PixiVNJsonArithmeticOperations.ts:23

Right value of the arithmetic operation


type

> type: "arithmetic"

Defined in: src/schema/PixiVNJsonArithmeticOperations.ts:9