@digitalpersona/core
Version:
DigitalPersona Web Access Core library
22 lines (13 loc) • 588 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@digitalpersona/core](./core.md) > [Answer](./core.answer.md) > [(constructor)](./core.answer.(constructor).md)
## Answer.(constructor)
Creates an answer to a security question.
<b>Signature:</b>
```typescript
constructor(question: Question | QuestionNumber, text: string);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| question | <code>Question | QuestionNumber</code> | |
| text | <code>string</code> | |