UNPKG

@mendix/pluggable-widgets-tools

Version:
3 lines (2 loc) 197 B
export declare function ensure<T>(arg?: T, label?: string): T; export declare function partition<T, A extends T, B extends Exclude<T, A>>(input: Array<T>, predicate: (x: T) => x is A): [A[], B[]];