LENS supports several keywords that apply to types, similar to C#:
The default keyword followed by a type return the default value for this type. It is null for reference types, zeroed memory for structures, etc:
default
null
let zero = default int // 0 let zilch = default Point // (0; 0) let nada = default string // null
The typeof keyword returns an instance of Type:
typeof
Type
(typeof int).FullName // "System.Int32"
There was an error while loading. Please reload this page.