This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
NotBlankString
members as extensions
#48
Labels
common
Should work on all platforms.
enhancement
New feature or request.
types
Related to Kotools Types library.
wontfix
This will not be worked on.
Description
The problem
Extending the
NotBlankString
type with an operator likeplus
is impossible because this operator is shadowed by its function memberplus(Any?)
.The solution
Declare the operators of the
NotBlankString
type as extension functions for allowing to extend it with new operators.Code example
Checklist
Work in progress
section in changelog.The text was updated successfully, but these errors were encountered: