@eagleoutice/flowr - v2.17.16
    Preparing search index...

    What is known about a function without a program to read it from: FunctionGuards without the clauses, which point at code.

    interface StatedGuards {
        because?: readonly GuardReason[];
        calls?: readonly string[];
        conditional?: readonly ConditionalClaim[];
        dispatches?: BrandedIdentifier;
        formals?: Readonly<Record<BrandedIdentifier, FormalClaim>>;
        methodOf?: { class: string; generic: string };
        methods?: readonly string[];
        origin?: GuardOrigin;
        passes?: BrandedIdentifier;
        relations?: readonly ClaimedRelation[];
        required?: readonly BrandedIdentifier[];
        requires?: string;
        returns?: FormalClaim;
    }

    Hierarchy

    • Partial<
          Pick<
              FunctionGuards,
              "requires"
              | "relations"
              | "conditional"
              | "returns"
              | "passes",
          >,
      >
      • StatedGuards
    Index
    because?: readonly GuardReason[]

    why each part of StatedGuards.requires is in effect

    calls?: readonly string[]

    every function the conditions call, written pkg::name where the package is known, the base packages R attaches on startup included, which the conditions leave out

    conditional?: readonly ConditionalClaim[]

    what the conditions say of a formal unless something else lets the call through

    dispatches?: BrandedIdentifier

    for an S3 generic, the formal it dispatches on

    formals?: Readonly<Record<BrandedIdentifier, FormalClaim>>
    methodOf?: { class: string; generic: string }

    the S3 generic it is a method of, written pkg::name, and the class it is the method for

    methods?: readonly string[]

    for an S3 generic, its methods, each written pkg::name

    origin?: GuardOrigin

    where they come from and which R they hold for, see GuardOrigin

    the formal every normal return hands back unchanged

    relations?: readonly ClaimedRelation[]

    what the conditions say of formals relative to each other, like length(x) >= m

    required?: readonly BrandedIdentifier[]
    requires?: string

    all conditions in R syntax, an empty string if there are none

    returns?: FormalClaim

    what holds of the value a call returns normally, said as of a formal