forked from go-fed/activity
-
Notifications
You must be signed in to change notification settings - Fork 1
/
gen_pkg_toot_isorextends.go
28 lines (23 loc) · 1.08 KB
/
gen_pkg_toot_isorextends.go
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
// 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"
)
// IsOrExtendsTootEmoji returns true if the other provided type is the Emoji type
// or extends from the Emoji type.
func IsOrExtendsTootEmoji(other vocab.Type) bool {
return typeemoji.IsOrExtendsEmoji(other)
}
// IsOrExtendsTootHashtag returns true if the other provided type is the Hashtag
// type or extends from the Hashtag type.
func IsOrExtendsTootHashtag(other vocab.Type) bool {
return typehashtag.IsOrExtendsHashtag(other)
}
// IsOrExtendsTootIdentityProof returns true if the other provided type is the
// IdentityProof type or extends from the IdentityProof type.
func IsOrExtendsTootIdentityProof(other vocab.Type) bool {
return typeidentityproof.IsOrExtendsIdentityProof(other)
}