Skip to main content

IsSessionFunction

IsSessionFunction

Framework Data

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.

Translation © 2026 fanyi.dev · Original © 2026 React Training LLC, Remix Software Inc., Shopify Inc. (MIT)