is.neutral: Tests whether the molecule is neutral.

View source: R/rcdk.R

is.neutralR Documentation

Tests whether the molecule is neutral.

Description

The test checks whether all atoms in the molecule have a formal charge of 0.

Usage

is.neutral(mol)

Arguments

mol

The molecule to query. Should be a 'jobjRef' representing an 'IAtomContainer'

Value

'TRUE' if molecule is neutral, 'FALSE' otherwise

Author(s)

Rajarshi Guha (rajarshi.guha@gmail.com)


rcdk documentation built on July 9, 2023, 7:27 p.m.