Skip to contents

Checks if an object is (not) empty.

Usage

assert_empty(x)

assert_filled(x)

Arguments

x

An object to be checked.

Value

Throws an error, if any, and returns x invisibly otherwise.

Author

N. Frerebeau