Localize.Utils (Localize v0.32.0)

Copy Markdown View Source

Utility functions and namespace for Localize utility submodules.

This module provides general-purpose utility functions. Specialized utilities are organized in submodules:

Summary

Functions

Returns the current OTP version as a string.

Functions

otp_version()

@spec otp_version() :: String.t()

Returns the current OTP version as a string.

Returns

  • A string representing the full OTP version (e.g., "27.0"), or the major release string if the full version cannot be determined.

Examples

iex> is_binary(Localize.Utils.otp_version())
true