Declaration

func GSGlyphNameContainsSuffix(_ glyphName: String?, _ suffix: String) -> Bool

Declaration

BOOL GSGlyphNameContainsSuffix(NSString *glyphName, NSString *suffix);

Declaration

GSGlyphNameContainsSuffix(glyphName: str, suffix: str) -> bool

Parameters

glyphName

The glyph name to search.

suffix

The suffix, including its leading separator. For example, .tf or -ar.

Discussion

A match must end the name or be followed by ., -, or _. Include the leading separator in suffix.

See Also

Strings