kab/kab/static/js/monaco-yaml/yamlWorker.js
/**
     * Checks whether the given literal conforms to the [TextDocumentItem](#TextDocumentItem) interface.
     */
Checks whether the given literal conforms to the [TextDocumentItem](#TextDocumentItem) interface.
Checks whether the given literal conforms to the [ TextDocumentItem ] ( #TextDocumentItem ) interface .
function is(value) {
      var candidate = value;
      return Is.defined(candidate)
        && Is.string(candidate.uri)
        && Is.string(candidate.languageId)
        && Is.number(candidate.version)
        && Is.string(candidate.text);
    }
function is ( value ) { var candidate = value ; return Is . defined ( candidate ) && Is . string ( candidate . uri ) && Is . string ( candidate . languageId ) && Is . number ( candidate . version ) && Is . string ( candidate . text ) ; }
Checks whether the given literal conforms to the [TextDocumentItem](#TextDocumentItem) interface.
Checks whether the given literal conforms to the [ TextDocumentItem ] ( #TextDocumentItem ) interface .