(key: string, value: any = undefined)
| 883 | value: VertexProperties<TSchema, TVertexLabel>[TKey], |
| 884 | ): this is Vertex<TSchema, TVertexLabel & VertexLabelsWithProperty<TSchema, TKey>>; |
| 885 | public hasProperty(key: string, value: any = undefined) { |
| 886 | if (value === undefined) { |
| 887 | return this[$StoredElement].properties[key as keyof object] !== undefined; |
| 888 | } |
| 889 | return this[$StoredElement].properties[key as keyof object] === value; |
| 890 | } |
| 891 | |
| 892 | [customInspectSymbol]() { |
| 893 | return `Vertex("${this.id}", ${JSON.stringify(this[$StoredElement].properties)})`; |
no outgoing calls
no test coverage detected