Skip to main content

GetNameWithNamespacedPrefix

GetNameWithNamespacedPrefix returns a name with the given prefix prepended

def GetNameWithNamespacedPrefix(
prefix: string,
name: string
) - > string

Returns a name with the given prefix prepended. This function is used to create a namespaced identifier by combining a prefix and a base name.

Parameters

NameTypeDescription
prefixstringThe string to prepend to the name, acting as a namespace identifier.
namestringThe base name to which the prefix will be added.

Returns

TypeDescription
stringThe combined string with the prefix prepended to the name.