colors.test
From ComputerCraft Wiki
Function colors.test | |
Tests whether color is contained within colors; color may be a single color or may be a set of colors (in the latter case, true is returned only if all colors in color are contained in colors) | |
Syntax | colors.test(int colors, int color) |
Returns | boolean whether or not all elements of color are contained in the set colors |
Part of | ComputerCraft |
API | color |
Examples