Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
s.bench('createFromGuard String.guard', () => {
result = [String.guard('hello'), StringType.guard(42)];
});
});
s.bench('runtype String.guard', () => {
result = [String.guard('hello'), String.guard(42)];
});