@twinfinity/entity-referenceFunctionstryParseDomaintryParseDomain CallabletryParseDomain(text: undefined | null | string): EntityDomainReference | undefinedParses a bare domain reference, returning undefined for anything carrying a chain, a path or a version -- those are tryParse's to parse, and a caller that accepts either form tries this one only after that one has declined.Parameterstext: undefined | null | stringReturns EntityDomainReference | undefined
Parses a bare domain reference, returning
undefinedfor anything carrying a chain, a path or a version -- those aretryParse's to parse, and a caller that accepts either form tries this one only after that one has declined.