PowerQueryFormulaItem
PowerQueryFormulaItem class
Represents the item of the power query formula.
class PowerQueryFormulaItem;
Properties
| Property | Type | Description |
|---|---|---|
| name | string | Readonly. Gets the name of the item. |
| value | string | Gets the value of the item. |
| textValue | string | Readonly. Gets the text value of the item. |
| itemType | PowerQueryFormulaItemType | Readonly. Gets the type of this item (Function, Parameter, List, Literal, or Unknown). |
| isFunction | boolean | Readonly. Gets whether this item is a function. |
| isParameter | boolean | Readonly. Gets whether this item is a parameter. |
| isList | boolean | Readonly. Gets whether this item is a list. |
| isLiteral | boolean | Readonly. Gets whether this item is a literal value. |
Methods
| Method | Description |
|---|---|
| getName() | @deprecated. Please use the ’name’ property instead. Gets the name of the item. |
| getValue() | @deprecated. Please use the ‘value’ property instead. Gets the value of the item. |
| setValue(string) | @deprecated. Please use the ‘value’ property instead. Gets the value of the item. |
| getTextValue() | @deprecated. Please use the ’textValue’ property instead. Gets the text value of the item. |
| getItemType() | @deprecated. Please use the ‘itemType’ property instead. Gets the type of this item (Function, Parameter, List, Literal, or Unknown). |
| isFunction() | @deprecated. Please use the ‘isFunction’ property instead. Gets whether this item is a function. |
| isParameter() | @deprecated. Please use the ‘isParameter’ property instead. Gets whether this item is a parameter. |
| isList() | @deprecated. Please use the ‘isList’ property instead. Gets whether this item is a list. |
| isLiteral() | @deprecated. Please use the ‘isLiteral’ property instead. Gets whether this item is a literal value. |
| isNull() | Checks whether the implementation object is null. |
name
Readonly. Gets the name of the item.
name : string;
value
Gets the value of the item.
value : string;
textValue
Readonly. Gets the text value of the item.
textValue : string;
itemType
Readonly. Gets the type of this item (Function, Parameter, List, Literal, or Unknown).
itemType : PowerQueryFormulaItemType;
isFunction
Readonly. Gets whether this item is a function.
isFunction : boolean;
isParameter
Readonly. Gets whether this item is a parameter.
isParameter : boolean;
isList
Readonly. Gets whether this item is a list.
isList : boolean;
isLiteral
Readonly. Gets whether this item is a literal value.
isLiteral : boolean;
getName()
@deprecated. Please use the ’name’ property instead. Gets the name of the item.
getName() : string;
getValue()
@deprecated. Please use the ‘value’ property instead. Gets the value of the item.
getValue() : string;
setValue(string)
@deprecated. Please use the ‘value’ property instead. Gets the value of the item.
setValue(value: string) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | string | The value to set. |
getTextValue()
@deprecated. Please use the ’textValue’ property instead. Gets the text value of the item.
getTextValue() : string;
getItemType()
@deprecated. Please use the ‘itemType’ property instead. Gets the type of this item (Function, Parameter, List, Literal, or Unknown).
getItemType() : PowerQueryFormulaItemType;
Returns
isFunction()
@deprecated. Please use the ‘isFunction’ property instead. Gets whether this item is a function.
isFunction() : boolean;
isParameter()
@deprecated. Please use the ‘isParameter’ property instead. Gets whether this item is a parameter.
isParameter() : boolean;
isList()
@deprecated. Please use the ‘isList’ property instead. Gets whether this item is a list.
isList() : boolean;
isLiteral()
@deprecated. Please use the ‘isLiteral’ property instead. Gets whether this item is a literal value.
isLiteral() : boolean;
isNull()
Checks whether the implementation object is null.
isNull() : boolean;