Пример #1
0
        /// <summary>
        /// Compound which is both <see cref="IsCarbonyl"/> and <see cref="IsAlcohol"/>
        /// </summary>
        public static bool IsCarboxylic(this IAtomContainer mol)
        {
            if (mol == null)
            {
                return(false);
            }

            return(mol.IsCarbonyl() && mol.IsAlcohol());
        }