powered by
any
Create an any schema combinator fragment
schema_any(..., description = NULL)
A raw schema fragment accepted by schema_doc() and schema edit verbs.
schema_doc()
Branch schema fragments.
Optional node description.
schema <- schema_doc(schema_any(schema_check("int"), schema_check("string"))) schema schema_validate(schema, "ok", mode = "test")
Run the code above in your browser using DataLab