Voltage-gated potassium channel that mediates transmembrane potassium transport in excitable membranes, primarily in the brain. Mediates the major part of the dendritic A-type current I(SA) in brain neurons (By similarity). This current is activated at membrane potentials that are below the threshold for action potentials. It regulates neuronal excitability, prolongs the latency before the first spike in a series of action potentials, regulates the frequency of repetitive action potential firing, shortens the duration of action potentials and regulates the back-propagation of action potentials from the neuronal cell body to the dendrites. Contributes to the regulation of the circadian rhythm of action potential firing in suprachiasmatic nucleus neurons, which regulates the circadian rhythm of locomotor activity (By similarity). Functions downstream of the metabotropic glutamate receptor GRM5 and plays a role in neuronal excitability and in nociception mediated by activation of GRM5 (By similarity). Mediates the transient outward current I(to) in rodent heart left ventricle apex cells, but not in human heart, where this current is mediated by another family member. Forms tetrameric potassium-selective channels through which potassium ions pass in accordance with their electrochemical gradient (PubMed:10551270, PubMed:11507158, PubMed:14623880, PubMed:14695263, PubMed:14980201, PubMed:15454437, PubMed:16934482, PubMed:19171772, PubMed:24501278, PubMed:24811166, PubMed:34552243, PubMed:35597238). The channel alternates between opened and closed conformations in response to the voltage difference across the membrane (PubMed:11507158). Can form functional homotetrameric channels and heterotetrameric channels that contain variable proportions of KCND2 and KCND3; channel properties depend on the type of pore-forming alpha subunits that are part of the channel. In vivo, membranes probably contain a mixture of heteromeric potassium channel complexes. Interaction with specific isoforms of the regulatory subunits KCNIP1, KCNIP2, KCNIP3 or KCNIP4 strongly increases expression at the cell surface and thereby increases channel activity; it modulates the kinetics of channel activation and inactivation, shifts the threshold for channel activation to more negative voltage values, shifts the threshold for inactivation to less negative voltages and accelerates recovery after inactivation (PubMed:14623880, PubMed:14980201, PubMed:15454437, PubMed:19171772, PubMed:24501278, PubMed:24811166). Likewise, interaction with DPP6 or DPP10 promotes expression at the cell membrane and regulates both channel characteristics and activity (By similarity). Upon depolarization, the channel goes from a resting closed state (C state) to an activated but non-conducting state (C* state), from there, the channel may either inactivate (I state) or open (O state) (PubMed:35597238). {ECO:0000250|UniProtKB:Q63881, ECO:0000250|UniProtKB:Q9Z0V2, ECO:0000269|PubMed:10551270, ECO:0000269|PubMed:10729221, ECO:0000269|PubMed:11507158, ECO:0000269|PubMed:14623880, ECO:0000269|PubMed:14695263, ECO:0000269|PubMed:14980201, ECO:0000269|PubMed:15454437, ECO:0000269|PubMed:16934482, ECO:0000269|PubMed:19171772, ECO:0000269|PubMed:24501278, ECO:0000269|PubMed:24811166, ECO:0000269|PubMed:34552243, ECO:0000269|PubMed:35597238}. This is the function of KCND2 (potassium voltage-gated channel subfamily D member 2, ENSG00000184408).