Friday, 11 February 2011

checking for null and undefined in javascript

if(div != undefined && div != null) {

// Do something.

}

No comments:

Post a Comment

Using Handlebar Prompt in Semantic Kernal

> dotnet add package Microsoft.SemanticKernel.PromptTemplates.Handlebars --version 1.30.0 using Microsoft . SemanticKernel ; using Micr...