PetscHSetIHas — PETSc 3.22.5 documentation

Skip to main content
`Ctrl`+`K`

# PetscHSetIHas

Query for an entry in the hash set

## Synopsis

    #include <petsc/private/hashseti.h>
    PetscErrorCode PetscHSetIHas(PetscHSetI ht, PetscInt key, PetscBool *has)

## Input Parameters

- ht - The hash set

- key - The entry

## Output Parameter

- has - Boolean indicating whether the entry is in the hash set

## See Also

`PetscHSetIAdd()`, `PetscHSetIDel()`, `PetscHSetIQueryAdd()`

## Level

developer

## Location

include/petsc/private/hashset.txt.h

Index of all PetscH routines
Table of Contents for all manual pages
Index of all manual pages