UNPKG

602 BJavaScriptView Raw
1/**
2 * @license
3 * Copyright Google Inc. All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8/**
9 * @whatItDoes Represents a type that a Component or other object is instances of.
10 *
11 * @description
12 *
13 * An example of a `Type` is `MyCustomComponent` class, which in JavaScript is be represented by
14 * the `MyCustomComponent` constructor function.
15 *
16 * @stable
17 */
18export var Type = Function;
19export function isType(v) {
20 return typeof v === 'function';
21}
22//# sourceMappingURL=type.js.map
\No newline at end of file