diff --git a/docs/SupplierTypes.md b/docs/SupplierTypes.md index 7fda659..5397fd5 100644 --- a/docs/SupplierTypes.md +++ b/docs/SupplierTypes.md @@ -26,8 +26,8 @@ val booleanSupplier: ConfigValueSupplier = ConfigSourceSupplier( myConfigSource, typeOf() ) -val inverted: ConfigValueSupplier =ValueTransformingSupplier( - boolean, +val inverted: ConfigValueSupplier = ValueTransformingSupplier( + booleanSupplier, { !it } ) ```