Variable type_guardsConst
type_
guards
: { isIngester
(dataSpec
: any): dataSpec is DatasetIngester; isLiteral
(entity
: any): entity is Literal; isLiteralValue
(literal
: any): literal is LiteralValue | LiteralValue[]; isNamedNode
(entity
: NamedNode<string> | Quad | Literal | BlankNode | Variable): entity is NamedNode<string>; isQuad
(entity
: NamedNode<string> | Quad | Literal | BlankNode | Variable): entity is Quad; isRemoteDataSpec
(dataSpec
: DataSpec<any>): dataSpec is RemoteDataSpec<any>; isSubjectChangeSynchronization
(subject
: any): subject is SubjectChangeSynchronization; isSubjectValue
(subject
: any): subject is Subject | Subject[]; } = ...
Type declaration
-
isIngester:function
-
isLiteral:function
- isLiteral(entity: any): entity is Literal
-
Returns entity is Literal
-
isLiteralValue:function
-
isNamedNode:function
- isNamedNode(entity: NamedNode<string> | Quad | Literal | BlankNode | Variable): entity is NamedNode<string>
-
Parameters
-
entity: NamedNode<string> | Quad | Literal | BlankNode | Variable
Returns entity is NamedNode<string>
-
isQuad:function
- isQuad(entity: NamedNode<string> | Quad | Literal | BlankNode | Variable): entity is Quad
-
Parameters
-
entity: NamedNode<string> | Quad | Literal | BlankNode | Variable
Returns entity is Quad
-
isRemoteDataSpec:function
-
isSubjectChangeSynchronization:function
-
isSubjectValue:function
Type quard for the DatasetIngeste type
Returns