Help Angular by taking a 1 minute survey!Go to surveyHome

wtfLeave

Used to mark end of Scope.

See more...

const wtfLeave: <T>(scope: any, returnValue?: T) => T;
      
      const wtfLeave: <T>(scope: any, returnValue?: T) => T;
    

Description

  • scope to end.
  • returnValue (optional) to be passed to the WTF.

Returns the `returnValue for easy chaining.