Function getCharge

  • Returns the charge of a molecule

    Parameters

    • molecule: Molecule

      an instance of OCL.Molecule

    Returns number