igpapi — Instagram private API Simulator for Node.js (API reference) 4.19.0
    Preparing search index...

    Function isSearchInputUserResult

    • Whether a row of the typeahead list is a user (SearchInputUserResult): it narrows the row, so its openProfile() is there to call. Keyword and hashtag suggestions are rows to read and have no action.

      Parameters

      • row: unknown

      Returns row is AssembledHandle<
          "SearchInputUserResult",
          "item",
          {
              __typename: "XDTTypeaheadSearchUser";
              key: string;
              rank_token?: string;
              rankToken?: string;
              user: {
                  full_name?: string;
                  id?: string;
                  is_private?: boolean;
                  is_verified?: boolean;
                  latest_reel_media?: number;
                  profile_pic_url?: string;
                  search_serp_type?: number;
                  username?: string;
              };
          },
          TypeaheadUserResultItemActions,
          Record<never, never>,
          ScreenHandle | undefined,
          "optional",
          false,
          never,
          unknown,
      >