rb_proc_lambda_p

Function rb_proc_lambda_p 

Source
pub unsafe extern "C" fn rb_proc_lambda_p(recv: VALUE) -> VALUE
Expand description

Queries if the given object is a lambda. Instances of ::rb_cProc are either lambda or proc. They differ in several points. This function can distinguish them without actually evaluating their contents.

ยง@param[in] recv Target proc object. @retval RUBY_Qtrue It is a lambda. @retval RUBY_Qfalse Otherwise.

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3