voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
25 lines (14 loc) • 668 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/auth](./auth.md) > [parseActionCodeURL](./auth.parseactioncodeurl.md)
## parseActionCodeURL() function
Parses the email action link string and returns an [ActionCodeURL](./auth.actioncodeurl.md) if the link is valid, otherwise returns null.
<b>Signature:</b>
```typescript
export declare function parseActionCodeURL(link: string): ActionCodeURL | null;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| link | string | |
<b>Returns:</b>
[ActionCodeURL](./auth.actioncodeurl.md) \| null