STRICT

@Immutable(containerOf = ["T"])
data class STRICT<T>(val expectedVal: T) : ValidationLevel<T>

Checks that the extension exists and matches the expected value.

Parameters

expectedVal

The expected value of the extension.

Constructors

Link copied to clipboard
constructor(expectedVal: T)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun isSatisfiedBy(extension: Any?): Boolean

Evaluates whether the extension is satisfied by this ValidationLevel.