PowerQueryFormulaItem

PowerQueryFormulaItem class

Represents the item of the power query formula.

class PowerQueryFormulaItem;

Properties

PropertyTypeDescription
namestringReadonly. Gets the name of the item.
valuestringGets the value of the item.
textValuestringReadonly. Gets the text value of the item.
itemTypePowerQueryFormulaItemTypeReadonly. Gets the type of this item (Function, Parameter, List, Literal, or Unknown).
isFunctionbooleanReadonly. Gets whether this item is a function.
isParameterbooleanReadonly. Gets whether this item is a parameter.
isListbooleanReadonly. Gets whether this item is a list.
isLiteralbooleanReadonly. Gets whether this item is a literal value.

Methods

MethodDescription
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:

ParameterTypeDescription
valuestringThe 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

PowerQueryFormulaItemType

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;