29 行
1.0 KiB
Go
29 行
1.0 KiB
Go
// Code generated by astool. DO NOT EDIT.
|
|
|
|
package streams
|
|
|
|
import (
|
|
typeemoji "gitler.moe/suwako/activity/streams/impl/toot/type_emoji"
|
|
typehashtag "gitler.moe/suwako/activity/streams/impl/toot/type_hashtag"
|
|
typeidentityproof "gitler.moe/suwako/activity/streams/impl/toot/type_identityproof"
|
|
vocab "gitler.moe/suwako/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)
|
|
}
|