W3cubDocs

/Angular 7

wtfLeave

const

Used to mark end of Scope.

See more...

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.

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/core/wtfLeave