R/class.R
is_mlx.Rd
Test if object is an MLX array
is_mlx(x)
Object to test
Logical scalar.
x <- mlx_matrix(1:4, 2, 2) is_mlx(x) #> [1] TRUE