asAccountIdOrNull

Casts this Target as a AccountId and retrieves its kotlin.String value. Returns null if the Target is not a AccountId.