go-fed-activity/streams/gen_pkg_w3idsecurityv1_isorextends.go
Ben Lubar 8d7b0196cd
add standard generated code header
doing this as a separate commit to avoid messy diffs for the important part of this change
2019-10-19 17:45:12 -05:00

15 lines
465 B
Go

// Code generated by astool. DO NOT EDIT.
package streams
import (
typepublickey "github.com/go-fed/activity/streams/impl/w3idsecurityv1/type_publickey"
vocab "github.com/go-fed/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)
}