[][src]Function dart_sys::Dart_IsTearOff

pub unsafe extern "C" fn Dart_IsTearOff(object: Dart_Handle) -> bool

Is this object a closure resulting from a tear-off (closurized method)?

Returns true for closures produced when an ordinary method is accessed through a getter call. Returns false otherwise, in particular for closures produced from local function declarations.

\param object Some Object.

\return true if Object is a tear-off.