mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
4 lines
129 B
TypeScript
4 lines
129 B
TypeScript
export const itemsStartWith = (items: string[], char: string) => {
|
|
return items.filter((item) => item.indexOf(char) === 0);
|
|
};
|