tm-ng-odometer
Version:
TmNgOdometer: An Angular library for animated numeric counters with precise decimal handling, customizable themes, and odometer-style animations.
26 lines (25 loc) • 909 B
TypeScript
/**
* Created: 2025-04-21 by Marco Trinastich
*/
export declare class Utilities {
/**
* Assigns default properties to an object.
* @param target The target object to assign defaults to.
* @param defaults The default properties to apply.
* @returns The target object with defaults applied.
*/
static defaults<T extends object>(target: T, defaults: Partial<T>): T;
/**
* Checks if a value is undefined.
* @param value The value to check.
* @returns True if the value is undefined, false otherwise.
*/
static isUndefined(value: any): boolean;
/**
* Checks if a value is in a collection (array, string, or object).
* @param collection The collection to search.
* @param value The value to search for.
* @returns True if the value is found, false otherwise.
*/
static includes(collection: any, value: any): boolean;
}