method Creature.prototype.getSynapse Creature.prototype.getSynapse(from: number,to: number,): Synapse | null Get a specific synapse between two neurons. Parameters from: number The index of the source neuron. to: number The index of the target neuron. Return Type Synapse | null The synapse or null if not found.