UNPKG

rdf-validate-datatype

Version:

Validate literal value of an RDF term based on its datatype.

6 lines (5 loc) 187 B
import type { Term } from '@rdfjs/types'; /** * Validate that a term's value is valid in regards to its declared datatype. */ export declare function validateTerm(term: Term): boolean;