IsSessionFunction
On this page

IsSessionFunction

Summary

Reference Documentation ↗

A function that determines whether a value is a React Router Session object.

Signature

type IsSessionFunction = (object: any) => object is Session;

Params

object

The value to check.

Returns

true if the value is a React Router Session object; otherwise, false.

Docs and examples CC 4.0
Edit