Validate v0.2.4 Validate.Required

Validate.required/1. Validates the presence of a value. If it's a string, checks that it's not empty If it's a list, checks that it has at least one item If it's a map, checks that it has at least one property

Link to this section Summary

Link to this section Functions

Link to this function

required(val \\ nil)