-
validate(with:Default implementation) Validates whether the value unmarshaled from
TweakTradeValueis compatible with the tweak’s default value.If this method is not implemented, then the return value is assumed to be true.
Default Implementation
Declaration
Swift
func validate(with defaultValue: Self) -> BoolParameters
defaultValueThe tweak’s default value.
Return Value
Ture if the value unmarshaled from
TweakTradeValueis compatible with the tweak’s default value; otherwise, false.
View on GitHub
TradedTweakable Protocol Reference