/// <summary> /// Reads the <see cref="SciterValue"/> as a <see cref="Boolean"/> /// </summary> /// <param name="sciterValue"></param> /// <param name="value">The output value</param> /// <param name="default">Default value to return on error</param> /// <returns></returns> public static bool TryAsBoolean(this SciterValue sciterValue, out bool value, bool @default = default(bool)) { return(sciterValue.TryAsBooleanInternal(out value, @default: @default)); }