Skip to content

Consider rephrasing "valid" as an algorithm #313

@annevk

Description

@annevk

Currently we have statements such as:

The |config| has either an {{SanitizerConfig/elements}} or a {{SanitizerConfig/removeElements}} key, but not both.

I think it would be clearer if we rewrote this and similar conditions to:

If |config|["{{SanitizerConfig/elements}}"] exists and |config|["{{SanitizerConfig/removeElements}}"] exists, then return false.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions