Skip to contents

Assertion for empty <function> objects

Usage

is_empty_function(f)

Arguments

f

A function.

Value

TRUE if the function body is empty ({}), FALSE otherwise. An error is raised if f is not a function.