func (v Version) Sequences(seqType SeqType) []string {
	var exists bool
	var seqsByType map[SeqType][]string
	if seqsByType, exists = sequences[v]; !exists {
		seqsByType = map[SeqType][]string{}
		sequences[v] = seqsByType
	}
	var seqs []string
	if seqs, exists = seqsByType[seqType]; !exists {
		var parseSeq ParseSeq
		if v == V1 || v == V2 {
			parseSeq = ParseSequencesLegacy
		} else {
			parseSeq = ParseSequences
		}

		var fileType FileType
		if v == V1 {
			fileType = Data
		} else if seqType == Emoji_ZWJ_Sequence {
			fileType = ZWJSequences
		} else {
			fileType = Sequences
		}

		seqs = parseSeq(seqType, v.FileBytes(fileType))
		seqsByType[seqType] = seqs
	}
	return seqs
}
// Sequences returns the Unicode emoji sequences of the specified type in this Emoji version.
Sequences returns the Unicode emoji sequences of the specified type in this Emoji version.
// Sequences returns the Unicode emoji sequences of the specified type in this Emoji version .
func (v Version) Sequences(seqType SeqType) []string {
	var exists bool
	var seqsByType map[SeqType][]string
	if seqsByType, exists = sequences[v]; !exists {
		seqsByType = map[SeqType][]string{}
		sequences[v] = seqsByType
	}
	var seqs []string
	if seqs, exists = seqsByType[seqType]; !exists {
		var parseSeq ParseSeq
		if v == V1 || v == V2 {
			parseSeq = ParseSequencesLegacy
		} else {
			parseSeq = ParseSequences
		}
		var fileType FileType
		if v == V1 {
			fileType = Data
		} else if seqType == Emoji_ZWJ_Sequence {
			fileType = ZWJSequences
		} else {
			fileType = Sequences
		}
		seqs = parseSeq(seqType, v.FileBytes(fileType))
		seqsByType[seqType] = seqs
	}
	return seqs
}
func ( v Version ) Sequences ( seqType SeqType ) [ ] string { var exists bool var seqsByType map [ SeqType ] [ ] string if seqsByType , exists = sequences [ v ] ; ! exists { seqsByType = map [ SeqType ] [ ] string { } sequences [ v ] = seqsByType } var seqs [ ] string if seqs , exists = seqsByType [ seqType ] ; ! exists { var parseSeq ParseSeq if v == V1 || v == V2 { parseSeq = ParseSequencesLegacy } else { parseSeq = ParseSequences } var fileType FileType if v == V1 { fileType = Data } else if seqType == Emoji_ZWJ_Sequence { fileType = ZWJSequences } else { fileType = Sequences } seqs = parseSeq ( seqType , v . FileBytes ( fileType ) ) seqsByType [ seqType ] = seqs } return seqs }
Sequences returns the Unicode emoji sequences of the specified type in this Emoji version.
Sequences returns the Unicode emoji sequences of the specified type in this Emoji version .