UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

21 lines (20 loc) 1.01 kB
/** * @license * Copyright Alibaba.com 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://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { IndexableObject, NzSafeAny } from 'ng-zorro-antd/core/types'; export declare function isNotNil<T>(value: T): value is NonNullable<T>; export declare function isNil(value: unknown): value is null | undefined; /** * Examine if two objects are shallowly equaled. */ export declare function shallowEqual(objA?: IndexableObject, objB?: IndexableObject): boolean; export declare function isInteger(value: string | number): boolean; export declare function isEmpty(element: HTMLElement): boolean; export declare function filterNotEmptyNode(node: Node): Node | null; export declare function isNonEmptyString(value: NzSafeAny): boolean; export declare function isTemplateRef(value: NzSafeAny): boolean; export declare function isComponent(value: NzSafeAny): boolean;