"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/core/src/render3/interfaces/type_checks.ts" between
angular-11.0.1.tar.gz and angular-11.0.2.tar.gz

About: Angular is a development platform for building mobile and desktop web applications using Typescript/JavaScript.

type_checks.ts  (angular-11.0.1):type_checks.ts  (angular-11.0.2)
skipping to change at line 12 skipping to change at line 12
* @license * @license
* Copyright Google LLC All Rights Reserved. * Copyright Google LLC All Rights Reserved.
* *
* Use of this source code is governed by an MIT-style license that can be * Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license * found in the LICENSE file at https://angular.io/license
*/ */
import {LContainer, TYPE} from './container'; import {LContainer, TYPE} from './container';
import {ComponentDef, DirectiveDef} from './definition'; import {ComponentDef, DirectiveDef} from './definition';
import {TNode, TNodeFlags} from './node'; import {TNode, TNodeFlags} from './node';
import {RNode} from './renderer'; import {RNode} from './renderer_dom';
import {FLAGS, LView, LViewFlags} from './view'; import {FLAGS, LView, LViewFlags} from './view';
/** /**
* True if `value` is `LView`. * True if `value` is `LView`.
* @param value wrapped value of `RNode`, `LView`, `LContainer` * @param value wrapped value of `RNode`, `LView`, `LContainer`
*/ */
export function isLView(value: RNode|LView|LContainer|{}|null): value is LView { export function isLView(value: RNode|LView|LContainer|{}|null): value is LView {
return Array.isArray(value) && typeof value[TYPE] === 'object'; return Array.isArray(value) && typeof value[TYPE] === 'object';
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)