2021-08-12 19:03:24 +00:00
|
|
|
// Code generated by astool. DO NOT EDIT.
|
|
|
|
|
|
|
|
package streams
|
|
|
|
|
|
|
|
import (
|
2021-11-13 16:29:43 +00:00
|
|
|
typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji"
|
2023-07-27 18:54:30 +00:00
|
|
|
typehashtag "github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag"
|
2021-11-13 16:29:43 +00:00
|
|
|
typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof"
|
|
|
|
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
2021-08-12 19:03:24 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// 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)
|
|
|
|
}
|
|
|
|
|
2023-07-27 18:54:30 +00: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)
|
|
|
|
}
|
|
|
|
|
2021-08-12 19:03:24 +00: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)
|
|
|
|
}
|