number-property.d.ts 562 B

123456789101112131415
  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. /** Coerces a data-bound value (typically a string) to a number. */
  9. export declare function coerceNumberProperty(value: any): number;
  10. export declare function coerceNumberProperty<D>(value: any, fallback: D): number | D;
  11. /**
  12. * Whether the provided value is considered a number.
  13. * @docs-private
  14. */
  15. export declare function _isNumberValue(value: any): boolean;