nustack
ReferenceNulang

helpers.validation

Nu-specialized validate: binds the Nu LAWS.

Module nu.lang.helpers.validation.

Nu-specialized validate: binds the Nu LAWS.

Wraps nu.engine.validate with Nu's law set so callers don't have to pass them. Returns the same Program for chaining.

NameCallMeaning
validatelang.validate(program)Validate a compiled Program against the Nu law set.

validate

Validate a compiled Program against the Nu law set.

lang.validate(program)

Path nu.lang.validate. Defined on nu.lang.helpers.validation, bound as a function. Builds Program.

Arguments

NameTypeDefaultMeaning
programProgram

Undocumented: example.

On this page