@samatawy/rules
    Preparing search index...

    Function setPathValue

    • Write a value to a context using a key that can be a nested path with dot notation. TODO: Support arrays in the path (e.g., "person.children.name").

      Parameters

      • context: any

        the context object to write the value from.

      • key: string

        the key to write the value at, which can be a simple key or a nested key using dot notation.

      • value: any

      Returns any

      the context after setting the value.