1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-02 16:58:49 +09:00

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();
* xは配列でなければならず'strawberry pasta'
*
* required default
*
* ~~
* const [val, err] = it(x).must.be.a.string().required().qed();
*