You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eric Prud'hommeaux edited this page Mar 23, 2015
·
3 revisions
validate() returns a ES6 Promise returning:
resolve(): RDF.Result
reject(): ...
validate(point, as, ... { async: t|f, prefixResolver })
=> async ? ES6 Promise(RDF.Result) : RDF.Result
!> async ? reject(RDF.StructuredError) : StructuredError
Each Schema.{TripleMatcher}.validate is divided into internal functions which are either stacked in a .then chain or called sequentially, depending on .async.