Skip to content

Commit

Permalink
| General documentation changes to the isEmpty() methods to introduce…
Browse files Browse the repository at this point in the history
… more precise wording
  • Loading branch information
Mtax-Development committed Mar 4, 2022
1 parent 22b132c commit d0bc3bf
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/List/List.gml
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ function List() constructor
}

// @returns {bool} | On error: {undefined}
// @description Check if this Data Structure has any values in it.
// @description Check if this Data Structure has no values in it.
static isEmpty = function()
{
if ((is_real(ID)) and (ds_exists(ID, ds_type_list)))
Expand Down
2 changes: 1 addition & 1 deletion scripts/Map/Map.gml
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ function Map() constructor
}

// @returns {bool} | On error: {undefined}
// @description Check if this Data Structure does not contain any values in it.
// @description Check if this Data Structure has no values in it.
static isEmpty = function()
{
if ((is_real(ID)) and (ds_exists(ID, ds_type_map)))
Expand Down
2 changes: 1 addition & 1 deletion scripts/PriorityQueue/PriorityQueue.gml
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ function PriorityQueue() constructor
}

// @returns {bool} | On error: {undefined}
// @description Check if this Data Structure has any values in it.
// @description Check if this Data Structure has no values in it.
// Returns {undefined} if this Data Structure does not exists.
static isEmpty = function()
{
Expand Down
2 changes: 1 addition & 1 deletion scripts/Queue/Queue.gml
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ function Queue() constructor
}

// @returns {bool} | On error: {undefined}
// @description Check if this Data Structure has any values in it.
// @description Check if this Data Structure has no values in it.
static isEmpty = function()
{
if ((is_real(ID)) and (ds_exists(ID, ds_type_queue)))
Expand Down
2 changes: 1 addition & 1 deletion scripts/Stack/Stack.gml
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ function Stack() constructor
}

// @returns {bool} | On error: {undefined}
// @description Check if this Data Structure has any values in it.
// @description Check if this Data Structure has no values in it.
static isEmpty = function()
{
if ((is_real(ID)) and (ds_exists(ID, ds_type_stack)))
Expand Down

0 comments on commit d0bc3bf

Please sign in to comment.