manifest/contains#

Functions#

contains()#

contains(manifest, container, element): boolean

Defined in: manifest/contains.ts:32

Whether element, an element address of manifest (it may name a part, a band or a card), lies inside container, the ID of a timeline or a group. A timeline contains itself, every element belonging to it or to a descendant, and their parts; an ancestor line’s address names the ancestor and lies outside. A group contains its frame, its title and whatever a member contains. Any other element contains nothing.

Parameters#

manifest#

Manifest

container#

string

element#

ElementAddress

Returns#

boolean


containsIn()#

containsIn(manifest, container): (element) => boolean

Defined in: manifest/contains.ts:8

contains of one manifest and one container, for many elements.

Parameters#

manifest#

Manifest

container#

string

Returns#

(element) => boolean