Permalink
Browse files

Fix jsdoc of Scoreflex.SDK.is

  • Loading branch information...
1 parent 823a7bf commit 0153e8a4dc6ef4f6304902b9c9b43254e4a250e7 @capflam capflam committed Feb 19, 2014
Showing with 7 additions and 2 deletions.
  1. +7 −2 scoreflex.js
View
@@ -2091,9 +2091,14 @@ var Scoreflex = function(clientId, clientSecret, useSandbox) {
};
/**
- * Check the type of an object
+ * Check the type of an object.
+ *
* @param {object} obj
- * @param {"Player"|"Leaderboard"|"ChallengeInstance"} type
+ * @param {string} type It should be "Player", "Leaderboard" or
+ * "ChallengeInstance". For other values, the function returns false.
+ *
+ * @return <code>true</code> if the given object match the type,
+ * <code>false</code> otherwise.
*
* @public
* @memberof module:Scoreflex.SDK

0 comments on commit 0153e8a

Please sign in to comment.