// Code generated by astool. DO NOT EDIT. package streams import ( typecanannounce "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce" typecanlike "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike" typecanreply "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply" typeinteractionpolicy "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy" vocab "github.com/superseriousbusiness/activity/streams/vocab" ) // GoToSocialCanAnnounceIsExtendedBy returns true if the other's type extends from // CanAnnounce. Note that it returns false if the types are the same; see the // "IsOrExtends" variant instead. func GoToSocialCanAnnounceIsExtendedBy(other vocab.Type) bool { return typecanannounce.CanAnnounceIsExtendedBy(other) } // GoToSocialCanLikeIsExtendedBy returns true if the other's type extends from // CanLike. Note that it returns false if the types are the same; see the // "IsOrExtends" variant instead. func GoToSocialCanLikeIsExtendedBy(other vocab.Type) bool { return typecanlike.CanLikeIsExtendedBy(other) } // GoToSocialCanReplyIsExtendedBy returns true if the other's type extends from // CanReply. Note that it returns false if the types are the same; see the // "IsOrExtends" variant instead. func GoToSocialCanReplyIsExtendedBy(other vocab.Type) bool { return typecanreply.CanReplyIsExtendedBy(other) } // GoToSocialInteractionPolicyIsExtendedBy returns true if the other's type // extends from InteractionPolicy. Note that it returns false if the types are // the same; see the "IsOrExtends" variant instead. func GoToSocialInteractionPolicyIsExtendedBy(other vocab.Type) bool { return typeinteractionpolicy.InteractionPolicyIsExtendedBy(other) }