Skip to content

Commit 9cb624f

Browse files
authored
update jsdoc to reflect optional parameters
1 parent 9034057 commit 9cb624f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spark-md5.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@
596596
* A conversion will be applied if utf8 string is detected.
597597
*
598598
* @param {String} str The string
599-
* @param {Boolean} raw True to get the raw string, false to get the hex string
599+
* @param {Boolean} [raw] True to get the raw string, false to get the hex string
600600
*
601601
* @return {String} The result
602602
*/
@@ -610,7 +610,7 @@
610610
* Performs the md5 hash on a binary string.
611611
*
612612
* @param {String} content The binary string
613-
* @param {Boolean} raw True to get the raw string, false to get the hex string
613+
* @param {Boolean} [raw] True to get the raw string, false to get the hex string
614614
*
615615
* @return {String} The result
616616
*/
@@ -736,7 +736,7 @@
736736
* Performs the md5 hash on an array buffer.
737737
*
738738
* @param {ArrayBuffer} arr The array buffer
739-
* @param {Boolean} raw True to get the raw string, false to get the hex one
739+
* @param {Boolean} [raw] True to get the raw string, false to get the hex one
740740
*
741741
* @return {String} The result
742742
*/

0 commit comments

Comments
 (0)