containsMolecule

@NotNull
open fun containsMolecule(@NotNull molecule: @NotNull Molecule): @NotNull 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