Always(.x) is a closure function that takes any object .x,
and returns a function that always returns object .x.
A function that itself returns .x.
# comment here
always_0 <- Always(0)
always_0() # 0
always_true <- Always(TRUE)
always_true() # TRUE
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.