Skip to main content

assertValidName

Callable

  • assertValidName(name: string): string

  • Upholds the spec rules about naming.

    @deprecated

    Please use assertName instead. Will be removed in v17


    Parameters

    • name: string

    Returns string