@ng-supabase/core
Version:
ng-supabase is a component library and helper utilities for integrating Supabase in your angular application.
8 lines (7 loc) • 336 B
TypeScript
/**
* Removes items from a list based on a predicate function.
* @param list The list to remove items from.
* @param predicate A function that will be called for each item
* to determine whether to remove that item from the list or not.
*/
export declare function removeWhere<T>(list: T[], predicate: (value: T) => boolean): void;