Home > tab-info > assertIsPageInfo
assertIsPageInfo() function
Assert whether an unknown value is a PageInfo
object
Signature:
export declare function assertIsPageInfo(arg: unknown): asserts arg is PageInfo;
Parameters
Parameter | Type | Description |
---|---|---|
arg | unknown | value to check |
Returns:
asserts arg is PageInfo