doesCountEvaluations: Check whether the function is counting its function...

View source: R/doesCountEvaluations.R

doesCountEvaluationsR Documentation

Check whether the function is counting its function evaluations.

Description

In this case, the function is of type smoof_counting_function or it is further wrapped by another wrapper. This function then checks recursively, if there is a counting wrapper.

Usage

doesCountEvaluations(object)

Arguments

object

[any]
Arbitrary R object.

Value

logical(1) TRUE if the function counts its evaluations, FALSE otherwise.

See Also

addCountingWrapper


jakobbossek/smoof documentation built on Feb. 17, 2024, 2:23 a.m.