handle_fun: Handle a value that might be a function

Description Usage Arguments

View source: R/utils.R

Description

If x is a function, it is called with no arguments, otherwise x will be returned. This function is useful for shiny modules that accept either reactive or constant input.

Usage

1

Arguments

x

Possible function.


DavidBarke/QWUtils documentation built on Jan. 13, 2020, 11:52 a.m.