wtfLeave

Used to mark end of Scope.

查看"说明"...

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

说明

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

Returns the `returnValue for easy chaining.