Skip to content

Commit

Permalink
docs: default value of isStrict in mixed.strict is true, not false (#…
Browse files Browse the repository at this point in the history
…1521)

Co-authored-by: Shea Bunge <shea.bunge@ioof.com.au>
  • Loading branch information
sheabunge and sheabunge authored Dec 28, 2021
1 parent fcc5ae7 commit 266f33a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ schema.validate({ name: 'jimmy', age: 11 }).catch(function (err) {
- [`mixed.isValidSync(value: any, options?: object): boolean`](#mixedisvalidsyncvalue-any-options-object-boolean)
- [`mixed.cast(value: any, options = {}): any`](#mixedcastvalue-any-options---any)
- [`mixed.isType(value: any): boolean`](#mixedistypevalue-any-boolean)
- [`mixed.strict(isStrict: boolean = false): Schema`](#mixedstrictisstrict-boolean--false-schema)
- [`mixed.strict(isStrict: boolean = true): Schema`](#mixedstrictisstrict-boolean--false-schema)
- [`mixed.strip(stripField: boolean = true): Schema`](#mixedstripstripfield-boolean--true-schema)
- [`mixed.withMutation(builder: (current: Schema) => void): void`](#mixedwithmutationbuilder-current-schema--void-void)
- [`mixed.default(value: any): Schema`](#mixeddefaultvalue-any-schema)
Expand Down

0 comments on commit 266f33a

Please sign in to comment.