Version: 2017.3
public bool AsBoolean ();

Valor de retorno

bool The value of the boolean element.

Descripción

Convenience method to convert to bool.

The method is equivalent to ((PlistElementBoolean) el).value. Throws exception if the element is not PlistElementBoolean.