mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 21:51:23 +00:00
GUACAMOLE-986: Add non-nullable modifier to return type of functions never returning null
Alternatively use a primitive type instead of nullable boxed type.
This commit is contained in:
@@ -58,7 +58,7 @@ Guacamole.Status = function(code, message) {
|
||||
|
||||
/**
|
||||
* Returns whether this status represents an error.
|
||||
* @returns {Boolean} true if this status represents an error, false
|
||||
* @returns {boolean} true if this status represents an error, false
|
||||
* otherwise.
|
||||
*/
|
||||
this.isError = function() {
|
||||
|
Reference in New Issue
Block a user