isGenericS3               package:R.oo               R Documentation

_C_h_e_c_k_s _i_f _a _f_u_n_c_t_i_o_n _i_s _a _S_3/_U_s_e_M_e_t_h_o_d _g_e_n_e_r_i_c _f_u_n_c_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     Checks if a function is a S3/UseMethod generic function.

_U_s_a_g_e:

     ## Default S3 method:
     isGenericS3(fcn, ...)

_A_r_g_u_m_e_n_t_s:

     fcn: A 'function'.

     ...: Not used.

_D_e_t_a_i_l_s:

     A function is considered to be a generic S3/UseMethod function if
     its body, that is the source code, contains the regular pattern
     '"UseMethod[(]"'.

_V_a_l_u_e:

     Returns 'TRUE' if a generic S3/UseMethod function, otherwise
     'FALSE'.

_A_u_t_h_o_r(_s):

     Henrik Bengtsson (<URL: http://www.braju.com/R/>)

