Make the docs friendlier

This commit is contained in:
Luke Heerman 2024-12-17 08:49:49 -05:00
parent 111cea2381
commit 7cf7575e6d

View File

@ -161,7 +161,7 @@ export const run = (n) => saw.range(0, n).floor().segment(n);
/**
* @name binary
* Creates a discrete pattern using binary representation.
* Creates a pattern from a binary number.
* @param {number} n - input number to convert to binary
* @example
* "hh".s().struct(binary(5))
@ -174,7 +174,7 @@ export const binary = (n) => {
/**
* @name binaryN
* Creates a discrete pattern using binary representation.
* Creates a pattern from a binary number, padded to n bits long.
* @param {number} n - input number to convert to binary
* @param {number} nBits - pattern length, defaults to 16
* @example