diff --git a/src/interactions/Task/AsCooperativeWork.js b/src/interactions/Task/AsCooperativeWork.js index 96706c026..51dd6fa3e 100644 --- a/src/interactions/Task/AsCooperativeWork.js +++ b/src/interactions/Task/AsCooperativeWork.js @@ -18,7 +18,7 @@ export class AsCooperativeWork { * Determines if this represents a cooperative task */ isCooperative() { - return this.cooperativeWork !== undefined; + return this.cooperativeWork != null; } /**