Link Search Menu Expand Document

HasFromInt overview

Added in v1.0.0


Table of contents


utils

HasFromInt (interface)

The class of values mapped to an [[Int]]

Signature

export interface HasFromInt<A> {
  /**
   * Maps an Int to a value
   *
   * @since 1.0.0
   */
  readonly fromInt: (int: Int) => A
}

Added in v1.0.0