Skip to contents

This function is used to perform assertions that an object conforms to its expected structure and no basic assumptions have been violated. Will throw an error if checks do not pass.

Usage

validate(x, ...)

Arguments

x

object to be validated.

...

additional arguments to pass to the specific validation method.