https://github.com/ken107/scope-functions
Scope functions for JavaScript, inspired by Kotlin
https://github.com/ken107/scope-functions
javascript scope-functions
Last synced: about 1 month ago
JSON representation
Scope functions for JavaScript, inspired by Kotlin
- Host: GitHub
- URL: https://github.com/ken107/scope-functions
- Owner: ken107
- License: mit
- Created: 2019-12-19T16:52:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-04T15:05:45.000Z (almost 2 years ago)
- Last Synced: 2025-02-10T00:18:57.254Z (over 1 year ago)
- Topics: javascript, scope-functions
- Language: TypeScript
- Size: 617 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Usage
```typescript
import "scope-functions";
let myObj = {a:1}.also(console.log);
let myNumber = {a:1}.let(x => x.a);
```