Skip to content
Snippets Groups Projects
Commit 9621e3d1 authored by Eugen Ciur's avatar Eugen Ciur
Browse files

a little bit of documentation never hurts

parent c4edc912
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,12 @@ function group_perms_by_model(permissions) {
}
function are_sets_equal(set1, set2) {
/*
Returns `true` if given sets are equal and `false` otherwise.
`set1` and `set2` are expected to be instances of javascript `Set`
class.
*/
let same_size, same_values;
same_size = (a, b) => a.size === b.size;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment