summaryrefslogtreecommitdiff
path: root/vendor/code.superseriousbusiness.org/activity/streams/gen_pkg_w3idsecurityv1_extendedby.go
blob: 3ca0fddee8f33b7495c908323d7731307751b812 (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 "code.superseriousbusiness.org/activity/streams/impl/w3idsecurityv1/type_publickey"
	vocab "code.superseriousbusiness.org/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)
}