UNPKG

@ngx-dropzone/cdk

Version:
6 lines (5 loc) 361 B
export type BooleanInput = boolean | string | number | null | undefined; /** Inspired by the Angular Material library, we check our input properties. */ export declare function coerceBoolean(value?: BooleanInput): boolean; /** Allows filtering `null` and `undefined` elements from arrays. */ export declare function nonNullable<T>(value: T | null): value is T;