
## PowerQueryFormulaItemCollection class

Represents all item of the power query formula.

```javascript
class PowerQueryFormulaItemCollection implements Iterable<PowerQueryFormulaItem>;
```


## Methods

| Method | Description |
| --- | --- |
| [get(number)](#get-number-)| Gets [ PowerQueryFormulaItem](../ powerqueryformulaitem/) by the index in the list. |
| [get(string)](#get-string-)| Gets [ PowerQueryFormulaItem](../ powerqueryformulaitem/) by the name of the item. |
| [getCount()](#getCount--)| <b>@deprecated.</b> Please use the 'count' property instead. Gets the number of elements contained in. |
| [isNull()](#isNull--)| Checks whether the implementation object is null. |

## \[Symbol.iterator\](): Iterator\<PowerQueryFormulaItem\>

Returns an iterator over the items in the collection. Enables use of `for...of`, spread syntax, and `Array.from()`.



### get(number) {#get-number-}

Gets [ PowerQueryFormulaItem](../ powerqueryformulaitem/) by the index in the list.

```javascript
get(index: number) : PowerQueryFormulaItem;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | number | The index. |

**Returns**

[PowerQueryFormulaItem](../powerqueryformulaitem/)

### get(string) {#get-string-}

Gets [ PowerQueryFormulaItem](../ powerqueryformulaitem/) by the name of the item.

```javascript
get(name: string) : PowerQueryFormulaItem;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| name | string | The name of the item. |

**Returns**

[PowerQueryFormulaItem](../powerqueryformulaitem/)

### getCount() {#getCount--}

<b>@deprecated.</b> Please use the 'count' property instead. Gets the number of elements contained in.

```javascript
getCount() : number;
```


### isNull() {#isNull--}

Checks whether the implementation object is null.

```javascript
isNull() : boolean;
```



