Moon light
needs(code_samples);
Function Syntax
int moon_light()
Returns the total number of lit segments from all moons (including the minimoon). Range returned is 0 to 9.
CLI Equivalent
The CLI command "moon" gives text output that includes moon phases.
See Also
More Information
See this thread for more information.