BUPKIS
    Preparing search index...

    Interface AssertionApplicability

    Represents an assertion with its applicability predicate.

    Used to determine whether a given assertion would pass for a particular runtime value.

    interface AssertionApplicability {
        appliesTo: (value: unknown) => boolean;
        assertion: AnySyncAssertion;
        phrases: readonly [string, string];
    }
    Index

    Properties

    appliesTo: (value: unknown) => boolean

    Predicate that returns true if the assertion would pass for the given value.

    assertion: AnySyncAssertion

    The assertion object.

    phrases: readonly [string, string]

    Phrase literals that can trigger this assertion.