2019-11-02 03:40:21 +09:00
|
|
|
// Code generated by astool. DO NOT EDIT.
|
|
|
|
|
|
|
|
package streams
|
|
|
|
|
|
|
|
import (
|
|
|
|
typeemoji "github.com/go-fed/activity/streams/impl/toot/type_emoji"
|
2021-09-08 17:03:14 +09:00
|
|
|
typehashtag "github.com/go-fed/activity/streams/impl/toot/type_hashtag"
|
2019-11-02 03:40:21 +09:00
|
|
|
typeidentityproof "github.com/go-fed/activity/streams/impl/toot/type_identityproof"
|
|
|
|
vocab "github.com/go-fed/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)
|
|
|
|
}
|
|
|
|
|
2021-09-08 17:03:14 +09:00
|
|
|
// 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)
|
|
|
|
}
|
|
|
|
|
2019-11-02 03:40:21 +09:00
|
|
|
// 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)
|
|
|
|
}
|