Skip to content

Conversation

@gobengo
Copy link
Owner

@gobengo gobengo commented Jun 13, 2018

No description provided.

const flattened = await jsonld.flatten(vocab);
const bNodes = flattened.filter((n: LDObject) => n['@id'].startsWith('_:'));
const nodesNoType = flattened.filter((n: LDObject) => !n['@type']);
// @todo (bengo.is) actually we want this to be 0, but the last two are
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gobengo gobengo merged commit cb1685b into master Jun 13, 2018
@gobengo gobengo deleted the jsonld branch June 13, 2018 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants