Function removeNamespacePrefix

  • Removes the namespace from the specified field if it is there, otherwise return the field name as-is.

    Parameters

    • field: string

      Field to remove the namespace from

    Returns string