CSS Font Loading API
The has() method of the FontFaceSet interface returns a Boolean asserting whether an element is present with the given value.
Syntax
has(value)
Parameters
value- : The value to test for in the
FontFaceSetobject.
- : The value to test for in the
Return value
A Boolean, true if value exists in the FontFaceSet.
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
