contains method

contains(name)

Determines whether the collection contains a font with the given name.

contains(name: string)
ParameterTypeDescription
namestringCase-insensitive name of the font to locate.

Returns

true if the item is found in the collection; otherwise, false.

See Also