si-funciona
    Preparing search index...

    Function setValue

    • Set a value on an item, then return the item. NOTE: Argument order designed for usage with pipe

      Parameters

      • key: string | number

        The key on the item which will have its value set

      • value: any

        Any value to be applied to the key

      • item: settableItem

        An object or array to be updated

      Returns settableItem