- From: François Beaufort via GitHub <sysbot+gh@w3.org>
- Date: Thu, 03 Oct 2019 15:40:13 +0000
- To: public-web-nfc@w3.org
It seems as simple as checking the length attribute of `records`.
```js
if (record.records.length === 0) {
// No children records
}
```
`toText()` doesn't fail either, it simply return null.
How is `toRecords` failing differently than returning an empty sequence?
--
GitHub Notification of comment by beaufortfrancois
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/362#issuecomment-538000937 using your GitHub account
Received on Thursday, 3 October 2019 15:40:15 UTC