# `GSFont keepsGlyphs:`

*Instance Method*

Returns whether all named local or imported glyphs are present and included in export.

## Declaration

```swift
func keepsGlyphs(_ glyphNames: [String]) -> Bool
```

```objc
- (BOOL) keepsGlyphs:(NSArray<NSString *> *) glyphNames;
```

```python
keepsGlyphs_(glyphNames: list[str]) -> bool
```

## Parameters

- `glyphNames` — Glyph names to check.

## Discussion

Local glyphs take precedence over imported glyphs.

## See Also

### Exporting Glyphs

- [`GSFont.exportingGlyphNames`](/Core/GlyphsCore/GSFont/exportingGlyphNames) — The names of the local and imported glyphs that are included in export.
- [`GSFont filterKeepGlyphsCodes:`](/Core/GlyphsCore/GSFont/filterKeepGlyphsCodes:) — Returns the glyph names for Unicode code points that resolve to local or imported glyphs included in export.
- [`GSFont keepsGlyphsCode:`](/Core/GlyphsCore/GSFont/keepsGlyphsCode:) — Returns whether all Unicode code points resolve to local or imported glyphs included in export.
- [`GSFont filterKeepGlyphs:`](/Core/GlyphsCore/GSFont/filterKeepGlyphs:) — Returns the names of local or imported glyphs that are present and included in export.
- [`GSFont filterGlyphs:`](/Core/GlyphsCore/GSFont/filterGlyphs:) — Returns the names and Unicode queries that resolve to local or imported glyphs in the font.
- [`GSFont countOfGlyphsWithInfosByName:`](/Core/GlyphsCore/GSFont/countOfGlyphsWithInfosByName:) — Returns the number of matches found for local or imported glyph infos in the font.
- [`GSFont countOfGlyphsWithCode:`](/Core/GlyphsCore/GSFont/countOfGlyphsWithCode:) — Returns the number of Unicode code points that resolve to local or imported glyphs in the font.

