Skip to content

[F] getEntityName

function getEntityName(entity, options?): string;

Format a type, preview a value, or display the alternatives of a mixed parameter constraint.

ParameterType
entityEntity
options?TypeNameOptions

string