Matchatom

From CYANA Wiki
Jump to navigation Jump to search

matchatom

Synopsis: matchatom(integer,string) = integer

This logical function returns 1 (true) if the first argument is the number of an atom that is matched by the atom selection of the seconand argument, or 0 (false) otherwise.

Optionally, the integer atom index can be replaced by a string consisting of the atom name and the residue number, separated by a blank or a period, ..