Function |try_to_i8

std/conv::|try_to_i8


Usage

|try_to_i8<T>(value)

Generics

◻ T: TryToI8

Parameters

↳ value: T

Return

↴ Option<i8>


Try to turn data into i8.

This function returns an Option containing value if conversion is successful.