Skip to content
Snippets Groups Projects
Commit 73b7ab32 authored by Arkerthan's avatar Arkerthan
Browse files

JSDoc

parent 6b10dab0
No related branches found
No related tags found
1 merge request!5313Prosthetics stuff
......@@ -170,6 +170,11 @@ window.isItemAccessible = function(string) {
}
};
/*
* @param {App.Entity.SlaveState} slave
* @param {string} prosthetic
* @returns {boolean}
*/
window.isProstheticAvailable = function(slave, prosthetic) {
return slave.readyProsthetics.findIndex(function(p) { return p.id === prosthetic; }) !== -1;
};
......
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