method Creature.prototype.selfConnection Creature.prototype.selfConnection(indx: number): SynapseInternal | null Get a self-connection for the neuron at the given index. Parameters indx: number The index of the neuron. Return Type SynapseInternal | null The self-connection or null if not found.