blob: cdb3ecfa3d54fc7450dc63ddda3b0c4ab5fab88b (
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
28
29
30
31
|
// 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"
)
// TootEmojiIsExtendedBy returns true if the other's type extends from Emoji. Note
// that it returns false if the types are the same; see the "IsOrExtends"
// variant instead.
func TootEmojiIsExtendedBy(other vocab.Type) bool {
return typeemoji.EmojiIsExtendedBy(other)
}
// TootHashtagIsExtendedBy returns true if the other's type extends from Hashtag.
// Note that it returns false if the types are the same; see the "IsOrExtends"
// variant instead.
func TootHashtagIsExtendedBy(other vocab.Type) bool {
return typehashtag.HashtagIsExtendedBy(other)
}
// TootIdentityProofIsExtendedBy returns true if the other's type extends from
// IdentityProof. Note that it returns false if the types are the same; see
// the "IsOrExtends" variant instead.
func TootIdentityProofIsExtendedBy(other vocab.Type) bool {
return typeidentityproof.IdentityProofIsExtendedBy(other)
}
|