Description Usage Arguments Value Examples
check if it is a valid board
1 | is_valid(mat)
|
mat, |
a matrix |
true or error
1 2 3 | is_valid(c(matrix(c(1,2,3,4), nrow = 2)))
is_valid(generate_board_mat())
is_valid(generate_board_mat(n=1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.