HomeGuides
Try a DemoGet the Latest ReleaseSee the CHANGELOGCreate a Feature Request / Bug ReportJoin the Conversation
Guides

Meta

Meta conditions apply other condition functions.

meta.all

Evaluates data with a series of conditions. Every condition in the series must return true for this condition to succeed.

Settings

FieldTypeDescriptionRequired
conditionsobjectThe conditions used during inspection.Yes

Example

sub.condition.meta.all({conditions: [
  sub.condition.format.json(),
  sub.condition.number.length.greater_than(settings={value: 100})
]})
sub.cnd.all([
  sub.condition.format.json(),
  sub.condition.number.length.greater_than(settings={value: 100})
])

meta.any

Evaluates data with a series of conditions. Any condition in the series must return true for this condition to succeed.

Settings

FieldTypeDescriptionRequired
conditionsobjectThe conditions used during inspection.Yes

Example

sub.condition.meta.any({conditions: [
  sub.condition.format.json(),
  sub.condition.number.length.greater_than(settings={value: 100})
]})
sub.cnd.any([
  sub.condition.format.json(),
  sub.condition.number.length.greater_than(settings={value: 100})
])

meta.none

Evaluates data with a series of conditions. Every condition in the series must return false for this condition to succeed.

Settings

FieldTypeDescriptionRequired
conditionsobjectThe conditions used during inspection.Yes

Example

sub.condition.meta.none({conditions: [
  sub.condition.format.json(),
  sub.condition.number.length.greater_than(settings={value: 100})
]})
sub.cnd.none([
  sub.condition.format.json(),
  sub.condition.number.length.greater_than(settings={value: 100})
])

Evaluates data with an inspector that is negated (true becomes false, false becomes true).