Files
xahau.js/docs/src/isValidSecret.md.ejs
2018-09-11 18:45:52 -07:00

20 lines
358 B
Plaintext

## isValidSecret
`isValidSecret(secret: string): boolean`
Checks if the specified string contains a valid secret.
### Parameters
This method takes one parameter, the secret which to validate.
### Return Value
This method returns `true` if the secret is valid and `false` if it is not.
### Example
```javascript
return api.isValidSecret("secret")
```