dust/examples/option.ds

7 lines
129 B
Plaintext
Raw Normal View History

2023-12-27 00:33:19 +00:00
create_user = (fn email <string>, name <option(string)>) <map> {
{
email = email
username = (either_or username email)
}
}