iya-sts
    Preparing search index...
    resourceCheckFor: (
        document: any,
        url: any,
    ) => {
        checked: boolean;
        expected: any[];
        matches: boolean;
        wellKnownUrl: string;
        why: string;
    } = ...

    Type Declaration

      • (
            document: any,
            url: any,
        ): {
            checked: boolean;
            expected: any[];
            matches: boolean;
            wellKnownUrl: string;
            why: string;
        }
      • Makes section 3.3's check that a fetched document's resource is the one its URL was built from.

        Parameters

        • document: any

          the parsed document

        • url: any

          the URL it was fetched from, or '' when pasted or uploaded

        Returns {
            checked: boolean;
            expected: any[];
            matches: boolean;
            wellKnownUrl: string;
            why: string;
        }

        { checked, matches, expected, wellKnownUrl, why }