Skip to content

Commit

Permalink
feat: jsdoc (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fran McDade authored and Fran McDade committed Dec 4, 2024
1 parent 9dc13fe commit fff7bb9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/providers/fileManifestState/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ export function areAllFormFacetsSelected(state: FileManifestState): boolean {
}

/**
* Determines if all form facet terms are fully selected.
* Checks whether all form facets have all their terms fully selected.
* - **true**: All form facets have all their terms selected.
* - **false**: At least one form facet has an unselected term.
* @param state - File manifest state.
* @returns true if all form facet terms are fully selected.
* @returns true if all form facets have all their terms selected.
*/
export function areAllFormFiltersSelected(state: FileManifestState): boolean {
const { filesFacets, filters, selectedFormFacetNames } = state;
Expand Down

0 comments on commit fff7bb9

Please sign in to comment.