memoised = TRUE
, which is what is.memoised()
tests for.R/memoise.R
is.memoised.Rd
Test whether a function is a memoised copy.
Memoised copies of functions carry an attribute
memoised = TRUE
, which is what is.memoised()
tests for.
is.memoised(f)
f | Function to test. |
---|
#> [1] FALSEis.memoised(mem_lm) # TRUE#> [1] TRUE