Documentationcurrent version
Help us improve the docs by fixing typos and proposing enhancements.



Nikita stores the hierarchical tree of the actions running in a Nikita session. The siblings are the actions at the same hierarchical level executed before the current action.

It is an array of sibling actions ordered according to their execution. Thus, the last index of the sibling array is the last executed sibling action.

The array of sibling actions is available in the action handler as the siblings property in the first argument:

// Call 1st action
.call(() => true)
// Call 2nd action
.call(({siblings}) => {
  // Print the sibling action
Edit on GitHub

Nikita is an open source project hosted on GitHub and developed by Adaltas.