mingo
    Preparing search index...

    Function setValue

    • Set the value of the given object field

      Parameters

      • obj: ArrayOrObject

        {AnyObject|Array} the object context

      • selector: string

        {String} path to field

      • value: unknown

        {*} the value to set. if it is function, it is invoked with the old value and must return the new value.

      Returns void