Function proto_pdk_api::is_alias_name
source · pub fn is_alias_name<T>(value: T) -> bool
Expand description
Returns true if the provided value is an alias. An alias is a word that maps to version, for example, “latest” -> “1.2.3”.
Is considered an alias if the string is alpha-numeric, starts with a
character, and supports -
, _
, /
, .
, and *
characters.