Function build_obj_mut

  • Similar to build_obj except that each steps mutates the initial object. The first argument is taken as-is, and the remaining arguments are treated as steps. This means fancy objects like functions can be passed in as the first argument.

    Parameters

    • initial_obj: any
    • Rest ...steps: any[]

    Returns any

Generated using TypeDoc