# PPReady

Number of ready cells for [Pop](https://rmjjjt.gitbook.io/rubik-s-futuro-cube-sdk-open-beta-v1-4/summary/api-native-functions/misc/pop) in [Push Pop Array](https://rmjjjt.gitbook.io/rubik-s-futuro-cube-sdk-open-beta-v1-4/summary/push-pop-arrays)

Syntax: `PPReady(ppindex=0)`

* `ppindex` index of PPArray arbiter <0...3>

Returns: Number of available cells to pop.

Notes: If there is the possibility to call `Pop` without being sure about available cells, then this function should be used to check it. Otherwise, an exception will be raised if `Pop` is performed on empty or not enough filled `PPArray`.

Example:

```c
if (PPReady() {
    Pop(arr);
    ...
}
```

See also: [Pop](https://rmjjjt.gitbook.io/rubik-s-futuro-cube-sdk-open-beta-v1-4/summary/api-native-functions/misc/pop)
