HasToInt overview
Added in v1.0.0
Table of contents
utils
HasToInt (interface)
The class of values which can be converted to Int losslessly
Signature
export interface HasToInt<A> {
/**
* Converts a value to an Int
*
* @since 1.0.0
*/
readonly toInt: (a: A) => Int
}
Added in v1.0.0