Home > @jsplumbtoolkit/browser-ui > eachNotEmpty
eachNotEmpty() function
Runs the given function for each value in the array that is not null and has a non-zero length.
Signature:
export declare function eachNotEmpty(strings: Array<string>, fn: (idx: number, s: string) => any): void;
Parameters
Parameter | Type | Description |
---|---|---|
strings | Array<string> | |
fn | (idx: number, s: string) => any |
Returns:
void