Utilities

The following utility functions are available:

Impostor.coerse_string_typeFunction
coerse_string_type(v::Vector{<:AbstractString}) :: Union{String, Vector{String}}

Automatically unpack the return value of a generator function into a single string, when appropriate.

Parameters

  • v::Vector{<:AbstractString}: value(s) returned by some generator function.

Example

julia> Impostor.coerse_string_type(["Mark"])
"Mark"

julia> Impostor.coerse_string_type(["Mark", "Jane"])
2-element Vector{String}:
 "Mark"
 "Jane"
source
Impostor.setlocale!Function
setlocale!(loc::String)
setlocale!(loc::Vector{<:AbstractString})

Set loc as the default locale for the current session.

source
Missing docstring.

Missing docstring for provider_exists. Check Documenter's build log for details.

Missing docstring.

Missing docstring for content_exists. Check Documenter's build log for details.

Missing docstring.

Missing docstring for locale_exists. Check Documenter's build log for details.