Gets a value representing whether this Unit instance has a set value.
Namespace: MindFusion.Mapping
Package: Unit.js
JavaScript Copy Code |
---|
Object.defineProperty(Unit.prototype, "isEmpty", { value: Boolean }); |
Boolean. true if the Unit's value is null, otherwise false.
The following code checks if a Unit is empty:
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; var unit = new m.Unit(); if(unit.isEmpty()) |