IsCookieFunction
On this page

IsCookieFunction

Summary

Reference Documentation ↗

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

Signature

type IsCookieFunction = (object: any) => object is Cookie;

Params

object

The value to check.

Returns

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

Docs and examples CC 4.0
Edit