@hydra-cg/heracles.ts > IIndirectTypingProvider
Describes an abstract facility used for RDF-like type entailing.
interface:
IIndirectTypingProvider
▸ isOfType(expectedType: string
, processingState: ProcessingState): Promise
<boolean
>
Defined in JsonLd/IIndirectTypingProvider.ts:14
Checks whether a currently processed resource within a given processing state is of a given type.
Parameters:
Name | Type | Description |
---|---|---|
expectedType | string |
Type to check against. |
processingState | ProcessingState | Current JSON-LD processing state. |
Returns: Promise
<boolean
>