@nevware21/tripwire - v0.1.8
    Preparing search index...

    Function hasNestedPropertyFunc

    Export assertion functions

    • Asserts that the current IScopeContext value has the specified nested property using dot notation (e.g., "a.b.c").

      Parameters

      • this: IAssertScope

        The current IAssertScope assertion scope.

      • path: string

        The dot-separated path to the property.

      • Optionalvalue: any

        The expected value of the property (optional).

      • OptionalevalMsg: MsgSource

        The message to display if the assertion fails.

      Returns IPropertyResultOp

      The new "instance" (object) to be used as the this for the chained operations.

      An AssertionFailure if the nested property does not exist.

      An AssertionFailure if the property value does not match the expected value (when provided).

      0.1.5