angular / 5.2.11 / api / core / wtfleave.html /

wtfLeave

const

npm Package @angular/core
Module import { wtfLeave } from '@angular/core';
Source core/src/profile/profile.ts

const wtfLeave: any;

Description

Used to mark end of Scope.

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

Returns the `returnValue for easy chaining.

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