isImage(row, col)

Returns true if the cell at (row, col) contains a valid image-related type such as an image, graphics, or framebuffer, or if it is a video element, and false otherwise.

Syntax

isImage(row, col)

Parameters

Param Description
row Number: row index of the cell to be read ∈ [0..height]
col Number: column index of the cell to be read ∈ [0..width]

Note

Also available as the static method Quadrille.isImage(value), which takes a value instead of a cell position.