ecl-logo Documentation

ValidObjectQ

ValidObjectQ[obj]results

runs tests on the integrity of the values stored in obj.

ValidObjectQ[type]results

runs tests on the integrity of the values stored in recent objects of the given type.

ValidObjectQ[mixedInput]results

runs tests on the integrity of the values stored in all objects found in mixedInput.

Details

  • This function redirects to object type specific ValidObjectQ functions.
  • Input
    Output
    General Options
    Messages
  • BadObjectsThe following objects are not passing ValidObjectQ: `1`. Run ValidObjectQ with Verbose->Failures for more information on failures.

Examples

Basic Examples  (3)

Takes in a list of objects and returns a boolean indicating if all have passed:

Takes in a type and returns a boolean indicating if all recent objects of that type have passed:

Takes in mixed input and returns a single boolean indicating if objects found in the input have passed:

Options  (1)

Messages  (1)

Set Messages->True to print a message about the invalid objects. By default no message will be printed:

Messages  (1)

BadObjects  (1)

If Messages->True, prints a message describing which objects are invalid: