Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Syntax
Logical.From(value as any) as nullable logical
About
Returns a logical value from the given value. If the given value is null, Logical.From returns null. If the given value is logical, value is returned. Values of the following types can be converted to a logical value:
text: Alogicalvalue from the text value, either"true"or"false". Refer toLogical.FromTextfor details.number:falseifvalueequals0,trueotherwise.
If value is of any other type, an error is returned.
Example
Convert 2 to a logical value.
Usage
Logical.From(2)
Output
true