psychopy.org | Reference | Downloads | Github

PsychoJS equivalent of PsychoPy .next()?

I have a general question about the trialHandler's command .next() in PsychoJS.

Does anybody know what its PsychoJS equivalent is? I can’t find it in the API list of commands.

Thanks!