ostk.astrodynamics.converters.coerce_to_instant

coerce_to_instant(
value: Instant | datetime | str,
) Instant

Return Instant from value.

Parameters:

value (Instant | datetime | str) -- A value to coerce.

Returns:

The coerced Instant.

Return type:

Instant