@ngx-dropzone/cdk
Version:
CDK with basic dropzone functionality.
6 lines (5 loc) • 361 B
TypeScript
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;