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

    Interface PropertyFn

    Represents a function that defines a property assertion for a given name. Asserts that the property name exists on the target object.

    • Asserts that the property exists on the target object.

      Type Parameters

      • T

        The type of the property value.

      Parameters

      • name: string | number | symbol

        The name of the property.

      • Optionalvalue: T

        The expected value of the property.

      • OptionalevalMsg: MsgSource

        The evaluation message source.

      Returns IPropertyResultOp

      A new assertion instance this with the value of the property.

      AssertionFailure if the property does not exist.

      AssertionFailure if the property value does not match the expected value.