ToInt64E casts an interface to an int64 type.
(i any)
| 456 | |
| 457 | // ToInt64E casts an interface to an int64 type. |
| 458 | func ToInt64E(i any) (int64, error) { |
| 459 | return toNumberE[int64](i, parseInt[int64]) |
| 460 | } |
| 461 | |
| 462 | // ToInt32E casts an interface to an int32 type. |
| 463 | func ToInt32E(i any) (int32, error) { |
no outgoing calls
no test coverage detected
searching dependent graphs…