is.function               package:base               R Documentation

_I_s _a_n _O_b_j_e_c_t _o_f _T_y_p_e _F_u_n_c_t_i_o_n?

_D_e_s_c_r_i_p_t_i_o_n:

     Checks whether its argument is a function.

_U_s_a_g_e:

     is.function(x)

_A_r_g_u_m_e_n_t_s:

       x: an R object.

_D_e_t_a_i_l_s:

     'is.function' is generic: you can write methods to handle of
     specific classes of objects, see InternalMethods.

_V_a_l_u_e:

     'TRUE' if 'x' is a function, and 'FALSE' otherwise.

