containsMolecule

@NotNull
open fun containsMolecule(@NotNull molecule: Molecule): Observable<Boolean>

Observes whether a node contains a Molecule.

Return

emit true if the molecule is present, false otherwise

Parameters

molecule
  • the molecule to check