Constants

empty

Supported By

Example

put empty into steve

Description

A variant representing nothing.

When used as a string, empty evaluates to a zero-length string.

When used as an integer, a number, or a complex, empty evaluates to the numeric value of zero. However, empty is not equal to zero.

When used as a binary, empty evaluates to a zero-byte stream.

When used as a list, empty evaluates to a list of zero elements.

When used as an object, empty can be used as a placeholder for an actual object. It can be passed around like an object, but any attempt to get or set its properties, delete it, etc. will trigger a script error.

The empty constant cannot be used as any other data type besides the types listed above.