contains

abstract operator fun contains(molecule: Molecule): Boolean(source)

Tests whether a node contains a Molecule.

Return

true if the molecule is present, false otherwise

Parameters

molecule

the molecule to check