assertSheet
Asserts that a value is a sheet, narrowing its type, and throws if it is not.
API Reference
Signature
Parameters
Returns
void. Narrows value to Sheet<unknown> on success. Does not clone.
Throws
SHEET_INVALID_SHEET— value is not a valid sheet structure (same rule as from).