Description Usage Arguments Value
Check if argument is one of the allowed options
1 | assert_one_of(arg, allowed)
|
arg |
the argument to check |
allowed |
allowed options |
TRUE if check succeeds, throw error otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.