---
title: FontFaceSet.has()
slug: Web/API/FontFaceSet/has
tags:
  - API
  - Method
  - Reference
  - has
  - FontFaceSet
browser-compat: api.FontFaceSet.has
---
{{APIRef("CSS Font Loading API")}}

The **`has()`** method of the {{domxref("FontFaceSet")}} interface returns a {{jsxref("Boolean")}} asserting whether an element is present with the given value.

## Syntax

```js
FontFaceSet.has(value)
```

### Parameters

- `value`
  - : The value to test for in the `FontFaceSet` object.

### Return Value

A {{jsxref("Boolean")}}, `true` if `value` exists in the `FontFaceSet`.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

