blob: c8c5ee79989ce7395784e869d4de81df0c716247 [file] [log] [blame]
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* 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
*/
/**
* Type describing the allowed values for a number input
* @docs-private
*/
export declare type NumberInput = string | number | null | undefined;
/** Coerces a data-bound value (typically a string) to a number. */
export declare function coerceNumberProperty(value: any): number;
export declare function coerceNumberProperty<D>(value: any, fallback: D): number | D;
/**
* Whether the provided value is considered a number.
* @docs-private
*/
export declare function _isNumberValue(value: any): boolean;