LanguagePrimitives.IsTrue(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true if the language considers obj to be true.
public:
static bool IsTrue(System::Object ^ obj);
public:
static bool IsTrue(Platform::Object ^ obj);
static bool IsTrue(winrt::Windows::Foundation::IInspectable const & obj);
public static bool IsTrue (object obj);
static member IsTrue : obj -> bool
Public Shared Function IsTrue (obj As Object) As Boolean
Parameters
- obj
- Object
Obj to verify if it is true.
Returns
True if obj is true.