ecl-logo Documentation

ValidStorageConditionQ

ValidStorageConditionQ[mySample,myStorageCondition]isValidStorageCondition

checks that the storage safety information from myStorageCondition and mySample are the same.

Details

    Input
    Output

Examples

Basic Examples  (4)

Returns False if the safety information fields from the sample do not match those of the storage condition:

Returns True if the safety information fields from the sample match those of the storage condition:

Returns True if given SampleStorageTypeP|Disposal as the Storage Condition. This is because the symbol will automatically resolve to a valid storage condition in UploadStorageCondition[...]:

Returns False when given an unknown format:

Additional Examples  (4)

When given multiple samples, makes sure that the storage condition can accomodate all of the safety information from the samples. Returns False because the Storage Condition cannot handle Acids:

When given multiple samples, makes sure that the storage condition can accomodate all of the safety information from the samples. Returns True because the storage condition handles Flammable, Pyrophoric, and Acid:

When given raw booleans, makes sure that the booleans match the Storage Condition safety information:

When given raw booleans, makes sure that the booleans match the Storage Condition safety information: