summaryrefslogtreecommitdiff
path: root/vendor/github.com/go-fed/activity/streams/gen_pkg_w3idsecurityv1_extendedby.go
blob: 301544e69fe8f600be9aabd310133344de583155 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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)
}