Update it.ts

This commit is contained in:
syuilo⭐️ 2017-03-03 09:56:58 +09:00
parent 1e1800fd66
commit 3ca7a442ab

View file

@ -15,6 +15,8 @@
* const [val, err] = it(x).must.be.an.array().unique().required().validate(x => x[0] != 'strawberry pasta').qed(); * const [val, err] = it(x).must.be.an.array().unique().required().validate(x => x[0] != 'strawberry pasta').qed();
* xは配列でなければならず'strawberry pasta' * xは配列でなければならず'strawberry pasta'
* *
* required default
*
* ~~ * ~~
* const [val, err] = it(x).must.be.a.string().required().qed(); * const [val, err] = it(x).must.be.a.string().required().qed();
* *