Skip to Content

The SieveCheckResult type of the TypeScript SDK, which sieve.check take or answer.

type SieveCheckResult = {
  col?: number
  line?: number
  message?: string
  valid: boolean
}

Fields

FieldTypeDescription
colnumberOptional. Column number of syntax error
linenumberOptional. Line number of syntax error
messagestringOptional. Error message if script compilation failed
validbooleanTrue if the Sieve script compiled without syntax errors

Used by

MethodWhat it does
sieve.checkValidate a Sieve filter script without saving

On this page