kab/kab/static/js/monaco-yaml/yamlWorker.js
/**
     * Checks whether the given literal conforms to the
     * [ColorInformation](#ColorInformation) interface.
     */
Checks whether the given literal conforms to the
[ColorInformation](#ColorInformation) interface.
Checks whether the given literal conforms to the [ ColorInformation ] ( #ColorInformation ) interface .
function is(value) {
      var candidate = value;
      return Is.string(candidate.label)
        && (Is.undefined(candidate.textEdit) || TextEdit.is(candidate))
        && (Is.undefined(candidate.additionalTextEdits) || Is.typedArray(candidate.additionalTextEdits, TextEdit.is));
    }
function is ( value ) { var candidate = value ; return Is . string ( candidate . label ) && ( Is . undefined ( candidate . textEdit ) || TextEdit . is ( candidate ) ) && ( Is . undefined ( candidate . additionalTextEdits ) || Is . typedArray ( candidate . additionalTextEdits , TextEdit . is ) ) ; }
Checks whether the given literal conforms to the
 [ColorInformation](#ColorInformation) interface.
Checks whether the given literal conforms to the [ ColorInformation ] ( #ColorInformation ) interface .