Fixes for utility.scad docs.

This commit is contained in:
Revar Desmera 2023-04-30 20:16:43 -07:00
parent fdbecb5f9b
commit da0a75ad16

View file

@ -444,7 +444,7 @@ function num_true(l, func) =
// Function: default()
// Synopsis Returns a default value if the argument is 'undef', else returns the argument.
// Synopsis: Returns a default value if the argument is 'undef', else returns the argument.
// Topics: Undef Handling
// See Also: first_defined(), one_defined(), num_defined()
// Usage:
@ -807,7 +807,7 @@ module no_children(count) {
// Module: req_children()
// Assert that the calling module requires children.
// Synopsis: Assert that the calling module requires children.
// Topics: Error Checking
// See Also: no_function(), no_module()
// Usage:
@ -892,7 +892,6 @@ function _valstr(x) =
// Tests if the value gotten is what was expected, plus or minus 1e-9. If not, then
// the expected and received values are printed to the console and
// an assertion is thrown to stop execution.
//
// Returns false if both 'got' and 'expected' are 'nan'.
// Arguments:
// got = The value actually received.
@ -926,7 +925,6 @@ module assert_approx(got, expected, info) {
// Description:
// Tests if the value gotten is what was expected. If not, then the expected and received values
// are printed to the console and an assertion is thrown to stop execution.
//
// Returns true if both 'got' and 'expected' are 'nan'.
// Arguments:
// got = The value actually received.