@eagleoutice/flowr - v2.13.14
    Preparing search index...

    One entry of the StringFns registry: the parameters R declares, in order, and how to fold them.

    fold receives them in that order, so a parameter R gives a default is an optional parameter of fold, and a ... parameter arrives as the array of everything it collected. Whatever fold cannot answer it returns undefined for, which keeps the call Top.

    interface StringFn {
        defaults?: Readonly<Record<string, string>>;
        fold: (...args: any[]) => string | number | undefined;
        ignored?: readonly string[];
        params: readonly string[];
        pkg: PkgName;
    }
    Index
    defaults?: Readonly<Record<string, string>>

    what a parameter R gives a default stands for, so paste(a, b) folds like paste(a, b, sep = ' ')

    fold: (...args: any[]) => string | number | undefined

    the fold over the supplied arguments, in declaration order

    ignored?: readonly string[]

    parameters a call may supply that change nothing for the single strings we fold, like paste's collapse

    params: readonly string[]

    the parameter names, in the order R declares them; ... collects the arguments naming no other parameter

    pkg: PkgName

    the package declaring it, so another package's function of that name does not fold