Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public validate(
input: I,
keyPath: KeyPath,
_: FI,
): ValidateResult {
const ret = rule.validate(input, this.rules);
if (ret === true) {
return true;
}
return {
message: 'Validate fail with VEUI rules.',
detail: ret,
keyPath: keyPath,
};
}
}