Update it.ts

This commit is contained in:
syuilo⭐️ 2017-03-03 09:56:58 +09:00
parent 251c6a51eb
commit e340824d42

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();
* *