Fixed JSDoc comment
parent
4acf7b4e4f
commit
42b956e402
|
@ -19,10 +19,10 @@ import Utils from "../Utils";
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* // returns "00010000 00100000 00110000"
|
* // returns "00010000 00100000 00110000"
|
||||||
* toHex([10,20,30]);
|
* toBinary([10,20,30]);
|
||||||
*
|
*
|
||||||
* // returns "00010000 00100000 00110000"
|
* // returns "00010000 00100000 00110000"
|
||||||
* toHex([10,20,30], ":");
|
* toBinary([10,20,30], ":");
|
||||||
*/
|
*/
|
||||||
export function toBinary(data, delim="Space", padding=8) {
|
export function toBinary(data, delim="Space", padding=8) {
|
||||||
if (!data) return "";
|
if (!data) return "";
|
||||||
|
|
Loading…
Reference in New Issue