summaryrefslogtreecommitdiff
path: root/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_disjoint.go
blob: 69398032464d87764f9223223aa8c3e149d58a4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Code generated by astool. DO NOT EDIT.

package streams

import (
	typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji"
	typehashtag "github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag"
	typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof"
	vocab "github.com/superseriousbusiness/activity/streams/vocab"
)

// TootEmojiIsDisjointWith returns true if Emoji is disjoint with the other's type.
func TootEmojiIsDisjointWith(other vocab.Type) bool {
	return typeemoji.EmojiIsDisjointWith(other)
}

// TootHashtagIsDisjointWith returns true if Hashtag is disjoint with the other's
// type.
func TootHashtagIsDisjointWith(other vocab.Type) bool {
	return typehashtag.HashtagIsDisjointWith(other)
}

// TootIdentityProofIsDisjointWith returns true if IdentityProof is disjoint with
// the other's type.
func TootIdentityProofIsDisjointWith(other vocab.Type) bool {
	return typeidentityproof.IdentityProofIsDisjointWith(other)
}