UNPKG

tgui-angular

Version:

🚀 Angular UI library for Telegram Web Apps with modern components and theming support | 💼 Author is open to work opportunities | 📧 Contact: a.blagovestnov@gmail.com | 💬 Telegram: @ablagovestnov

11 lines (10 loc) • 374 B
/** * Checks if a node exists * * This utility function checks if a passed value can be rendered as a React-like node. * It verifies if the value is not null, not undefined, and is either a primitive or a complex object. * * @param node The node to check * @returns True if the node exists and can be rendered */ export declare function hasNode(node: any): boolean;