Hyperlinkv0.8.0-beta.28

effect

SchemaTransformation44

Constructors

Models

Guards

Coercions

Decoding

Encoding

String Transformations

Transforming

bigDecimalFromStringconstDecodes a string into a BigDecimal and encodes a BigDecimal back to its string representation.dateTimeUtcFromStringconstDecodes a date-time string into a DateTime.Utc and encodes it back to an ISO string.dateTimeZonedFromStringconstDecodes a zoned date-time string into a DateTime.Zoned and encodes it back to an ISO zoned string.durationFromMillisconstDecodes a number of milliseconds into a Duration and encodes a Duration back to milliseconds.durationFromNanosconstDecodes a bigint (nanoseconds) into a Duration and encodes a Duration back to bigint nanoseconds.durationFromStringconstDecodes a string into a Duration and encodes a Duration back to a parseable string.optionFromNullishOrfunctionDecodes T | null | undefined into Option<T> and encodes Option<T> back to T | null or T | undefined depending on the provided options.onNoneEncoding (defaults to undefined).optionFromNullOrfunctionDecodes T | null into Option<T> and encodes Option<T> back to T | null.optionFromOptionalfunctionDecodes optional values into Option<T> and encodes Option.none() back to an omitted optional value.optionFromOptionalKeyfunctionDecodes an optional struct key into Option<T> and encodes Option<T> back to an optional key.optionFromUndefinedOrfunctionDecodes T | undefined into Option<T> and encodes Option.none() back to undefined.timeZoneFromStringconstDecodes a string into a DateTime.TimeZone and encodes a time zone back to its string representation.timeZoneNamedFromStringconstDecodes an IANA time-zone identifier string into a DateTime.TimeZone.Named and encodes a named time zone back to its id.timeZoneOffsetFromNumberconstDecodes a numeric time-zone offset in milliseconds into a DateTime.TimeZone.Offset and encodes it back to the offset number.urlFromStringconstDecodes a string into a URL and encodes a URL back to its href string.