Resolver One Library Documentation

API for Empty

Back to documentation index page.

The Empty instance is contained in the Library.Empty module.

Empty is a token used to represent the fact that a cell is unpopulated.

Because it is a single instance, you can check for it using the is operator:

cell = workbook['Sheet1'].A1

if cell.Value is Empty:
    cell.Value = "An Empty Cell"

When used in calculations, the Empty instance behaves like the value 0.0.

The string representation is "Empty".