Chemistry · function
elementIndex
The index of an element symbol, or -1 for anything this package does not carry.
Explained in Chemistry.
function elementIndex(symbol: string): numberimport { elementIndex } from '@driftengine/chemistry';Parameters
| Parameter | Type | Description |
|---|---|---|
symbol | string |