All Bundles
Bool
Boolean class
Operations
Columns
Returns the number of columns in the matrix
function : Columns(matrix:Bool[,]) ~ Int
Parameters
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() ~ Nil
ErrorLine
Prints an error boolean value with a newline
function : ErrorLine() ~ Nil
Flip
Pseudo random coin flip
function : Flip() ~ Bool
Return
Type | Description |
---|
Bool | true or false |
Print
Prints a boolean value
function : Print() ~ Nil
PrintLine
Prints a boolean value with a newline
function : PrintLine() ~ Nil
Rows
Returns the number of rows in the matrix
function : Rows(matrix:Bool[,]) ~ Int
Parameters
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() ~ String
Return
Type | Description |
---|
String | string value |
ToString
Formats the boolean array into a string
function : native : ToString(b:Bool[]) ~ String
Parameters
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[,]) ~ String
Parameters
Name | Type | Description |
---|
v | Bool | boolean array |
Return
Type | Description |
---|
String | string representation of the boolean array |