Sensor API
The hasReading read-only
property of the Sensor interface returns a boolean value
indicating whether the sensor has a reading.
Because Sensor is a base class, hasReading may only be read
from one of its derived classes.
Value
A boolean value.
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
