Home > borogove > Html > reduce

Html.reduce() method

Walk the HTML tree to produce a new value

Signature:

reduce<T markdown="1">(f: (arg0: string, arg1: string[] | null, arg2: string[] | null, arg3: T[] | null) => T): T[];

Parameters

Parameter Type Description
f (arg0: string, arg1: string[] | null, arg2: string[] | null, arg3: T[] | null) => T

Returns:

T[]