diff --git a/src/data/TrialHandler.js b/src/data/TrialHandler.js index 6603be6..a4204ce 100644 --- a/src/data/TrialHandler.js +++ b/src/data/TrialHandler.js @@ -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. *