source: trip-planner-front/node_modules/@angular/cdk/coercion/number-property.d.ts@ bdd6491

Last change on this file since bdd6491 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 714 bytes
Line 
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 */
12export declare type NumberInput = string | number | null | undefined;
13/** Coerces a data-bound value (typically a string) to a number. */
14export declare function coerceNumberProperty(value: any): number;
15export declare function coerceNumberProperty<D>(value: any, fallback: D): number | D;
16/**
17 * Whether the provided value is considered a number.
18 * @docs-private
19 */
20export declare function _isNumberValue(value: any): boolean;
Note: See TracBrowser for help on using the repository browser.