An open API service indexing awesome lists of open source software.

https://github.com/bsutton/function_types

Defines the function types with different arities via `typedefs`.
https://github.com/bsutton/function_types

Last synced: 5 months ago
JSON representation

Defines the function types with different arities via `typedefs`.

Awesome Lists containing this project

README

          

function_types
=====

Defines the function types with different arities via `typedefs`.

Version: 0.1.0

```dart
import 'package:function_types/function_types.dart';

void main() {
Func2 mul = (int a, int b) => a * b;
print(mul(3, 2));

add = (int a, int b) => a + b;
print(add(3, 2));
}

Func2 add;
```