gotosocial/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_w3idsecurityv1_isorextends.go
2021-11-13 17:29:43 +01:00

15 lines
493 B
Go

// Code generated by astool. DO NOT EDIT.
package streams
import (
typepublickey "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/type_publickey"
vocab "github.com/superseriousbusiness/activity/streams/vocab"
)
// IsOrExtendsW3IDSecurityV1PublicKey returns true if the other provided type is
// the PublicKey type or extends from the PublicKey type.
func IsOrExtendsW3IDSecurityV1PublicKey(other vocab.Type) bool {
return typepublickey.IsOrExtendsPublicKey(other)
}