flown icon indicating copy to clipboard operation
flown copied to clipboard

Type Helpers for Flow (static typechecker)

flown

Travis branch npm version npm license

A set of utilities and tips for the flowtype.

Intallation

npm i flown

Utilities

Each Type has it's callable version called _Type, e.g. Apply and _Apply.

By default each Function Type supports the arity of 5.

  • Apply
  • Arguments
  • Arity
  • Fix
  • Flip
  • Frozen
  • Identity
  • Is
  • IsCompat
  • MergeAll
  • Omit
  • Partial
  • Path
  • PathOr
  • Pick
  • Prop
  • PropOr
  • Pure
  • Reduce
  • ReduceRight
  • Return
  • Union