All Bundles
Bool
Boolean class
Operations
Columns
Returns the number of columns in the matrix
function : Columns(matrix:Bool[,]) ~ IntParameters
| Name | Type | Description |
|---|
| matrix | Bool | matrix to process |
Return
| Type | Description |
|---|
| Int | number of columns in the matrix |
Error
Prints an error boolean value
function : Error() ~ NilErrorLine
Prints an error boolean value with a newline
function : ErrorLine() ~ NilFlip
Pseudo random coin flip
function : Flip() ~ BoolReturn
| Type | Description |
|---|
| Bool | true or false |
Print
Prints a boolean value
function : Print() ~ NilPrintLine
Prints a boolean value with a newline
function : PrintLine() ~ NilRows
Returns the number of rows in the matrix
function : Rows(matrix:Bool[,]) ~ IntParameters
| Name | Type | Description |
|---|
| matrix | Bool | matrix to process |
Return
| Type | Description |
|---|
| Int | number of rows in the matrix |
ToString
Formats the boolean value into a string
function : native : ToString() ~ StringReturn
| Type | Description |
|---|
| String | string value |
ToString
Formats the boolean array into a string
function : native : ToString(b:Bool[]) ~ StringParameters
| Name | Type | Description |
|---|
| b | Bool | boolean array |
Return
| Type | Description |
|---|
| String | string value |
ToString
Returns a string representation of the boolean array
function : ToString(v:Bool[,]) ~ StringParameters
| Name | Type | Description |
|---|
| v | Bool | boolean array |
Return
| Type | Description |
|---|
| String | string representation of the boolean array |