CheckNameAvailabilityResponse interface

The result of a name availability check.

Properties

available

True if the name is available, otherwise false.

message

A message explaining why the name is unavailable. Will be undefined if the name is available.

name

The name whose availability was checked.

reason

The reason code explaining why the name is unavailable. Will be undefined if the name is available.

Property Details

available

True if the name is available, otherwise false.

available?: boolean

Property Value

boolean

message

A message explaining why the name is unavailable. Will be undefined if the name is available.

message?: string

Property Value

string

name

The name whose availability was checked.

name?: string

Property Value

string

reason

The reason code explaining why the name is unavailable. Will be undefined if the name is available.

reason?: CheckNameAvailabilityReason

Property Value