ecl-logo Documentation

ValidResourceQ

ValidResourceQ[resource]result

checks to see if the Resource has all required keys, that all required and optional keys match their patterns and that each Resource passes all tests associated with that Resource type'.

Details

    Input
    Output
    General Options

Examples

Basic Examples  (4)

Takes in a sample Resource and returns a booleans indicating if all tests have passed:

Takes in an instrument Resource and returns a booleans indicating if all tests have passed:

Takes in an operator Resource and returns a booleans indicating if all tests have passed:

Takes in a waste Resource and returns a boolean indicating if all tests have passed:

Additional Examples  (3)

Takes in multiple Resouce and returns a single boolean indicating if all are valid:

If a resource is created for a specific sample and in a model container, amount must be specified:

Fresh->True can only be specifed for a stock solution sample:

Options  (2)

OutputFormat  (1)

OutputFormat->Boolean when given a list of Resources, returns a single of results:

Verbose  (1)

Verbose->True dynamically prints results of each Test as they are run: