Methods
encode(mediaType, continuationopt)
Given a media type, encode the statement as a string which represents each term with its lexical form. return that value or delegate to the continuation.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
mediaType |
string | ||
continuation |
function |
<optional> |
If present, invoke with the encoded value and return that result. |
equals(other) → {boolean}
Returns true for a Statement with equal terms
Parameters:
Name | Type | Description |
---|---|---|
other |
any |
boolean