go-fed-activity/streams/gen_pkg_w3idsecurityv1_extendedby.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

16 lines
523 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"
)
// W3IDSecurityV1PublicKeyIsExtendedBy returns true if the other's type extends
// from PublicKey. Note that it returns false if the types are the same; see
// the "IsOrExtends" variant instead.
func W3IDSecurityV1PublicKeyIsExtendedBy(other vocab.Type) bool {
return typepublickey.PublicKeyIsExtendedBy(other)
}