Use !!expr and not the verbose expr !== null

This addresses review comments by @tschaub.
This commit is contained in:
Marc Jansen
2015-10-01 09:12:43 +02:00
parent d5c5d651cb
commit a38ac3a07b
2 changed files with 2 additions and 2 deletions

View File

@@ -1166,7 +1166,7 @@ ol.Map.prototype.isDef = function() {
* @return {boolean} Is rendered.
*/
ol.Map.prototype.isRendered = function() {
return this.frameState_ !== null;
return !!this.frameState_;
};