Home > deconstruct-js > ComplexDeconstructor > offsetForElement
Returns the offset where a value is expected to be found, or undefined if unknown ahead of time.
Signature:
offsetForElement(key: K): number | undefined;
| Parameter | Type | Description |
|---|---|---|
| key | K |
Returns:
number | undefined