1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-12 08:38:10 +00:00

added a getter for finished in TrialHandler

This commit is contained in:
Alain Pitiot 2021-06-11 15:16:02 +02:00
parent cad60bb964
commit 598fa080ee

View File

@ -305,6 +305,17 @@ export class TrialHandler extends PsychObject
} }
/**
* Getter for the finished attribute.
*
* @returns {boolean} whether or not the trial has finished.
*/
get finished()
{
return this._finished;
}
/** /**
* Setter for the finished attribute. * Setter for the finished attribute.
* *