
committed by
Tobias Bosch

parent
abc1580fa9
commit
3869818d8f
@ -28,7 +28,7 @@ assert(value).is(...)
|
||||
|
||||
// Custom type assert:
|
||||
// - i have a custom type
|
||||
// - adding an assert methos
|
||||
// - adding an assert methods
|
||||
assert.define(MyUser, function(value) {
|
||||
assert(value).is(Type, Type2); // or
|
||||
assert(value, 'name').is(assert.string);
|
||||
|
Reference in New Issue
Block a user