Last change
on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
714 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /**
|
---|
| 2 | * @license
|
---|
| 3 | * Copyright Google LLC 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 | * Type describing the allowed values for a number input
|
---|
| 10 | * @docs-private
|
---|
| 11 | */
|
---|
| 12 | export declare type NumberInput = string | number | null | undefined;
|
---|
| 13 | /** Coerces a data-bound value (typically a string) to a number. */
|
---|
| 14 | export declare function coerceNumberProperty(value: any): number;
|
---|
| 15 | export declare function coerceNumberProperty<D>(value: any, fallback: D): number | D;
|
---|
| 16 | /**
|
---|
| 17 | * Whether the provided value is considered a number.
|
---|
| 18 | * @docs-private
|
---|
| 19 | */
|
---|
| 20 | export declare function _isNumberValue(value: any): boolean;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.