partition<T>(array: ?Array<T>, predicate?: Predicate<T>): NestedArray<T>;