Skip to content

sloik/FuncKeyPath

Repository files navigation

FuncKeyPath

Operator for creating functions out of KePath.

Why?

Sometimes I want to use KePath as a function but it's not possible.

Well, not it is 🤓

How to use...

Just prepend ^ before the keypath and you are set 😎

...
.map( ^\URL.sheme ) // now keypath is a function
...

About

Operator for creating functions out of KePath.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages