assertion
Here are 63 public repositories matching this topic...
-
Updated
May 5, 2020 - Python
function foo(x = number) {
return true;
}
var x = foo`world`;foo`world` should be validated as a call-expression, including both the template-literal (`world`) being validated as the first argument, as well as the return value type being implied to x.
-
Updated
Feb 19, 2020 - JavaScript
-
Updated
Nov 11, 2019 - Java
Add "throwUnless"
Instead of writing tg.throwIf(tg.isNot(tg.isString)), it would be nicer to write tg.throwUnless(tg.isString).
-
Updated
Jun 2, 2020 - JavaScript
As of now, all we have is a stand-in Contributing section of the README. It'd be great to have a more robust CONTRIBUTING.md file.
This file (generally) should contain the following...
- A thank you to potential contributors
- Table of Contents
- Code of Conduct
- What people should know before getting started
- How people can contribute
-
Updated
Apr 16, 2020 - TypeScript
-
Updated
Jun 1, 2020 - PHP
-
Updated
Apr 4, 2020 - JavaScript
Naming Issues
- Kernel doesn't mean anything on it's own, so you typically only import Krak\Validation and then use
Validation\Kernel, that's super annoying when using an IDE. It should be something like ValidationManager, ValidationContainer, ValidationKernel, etc etc Krak\Validation\Validatorsdoesn't make me happy, I typically rename toKrak\Validation\Assert, so we might as well put the funcs there
-
Updated
Dec 18, 2018 - TypeScript
-
Updated
Apr 28, 2018 - JavaScript
-
Updated
Apr 7, 2019 - TypeScript
Improve this page
Add a description, image, and links to the assertion topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the assertion topic, visit your repo's landing page and select "manage topics."
Running the following test file should report a failure but does not:
Output: