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"
|
|
|
|
)
|
|
|
|
|
|
|
|
// 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)
|
|
|
|
}
|
|
|
|
|
2021-09-08 17:03:14 +09:00
|
|
|
// 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)
|
|
|
|
}
|
|
|
|
|
2019-11-02 03:40:21 +09:00
|
|
|
// 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)
|
|
|
|
}
|