<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>V8 API Reference Guide for node.js v7.2.1: v8::Maybe&lt; T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">V8 API Reference Guide for node.js v7.2.1
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacev8.html">v8</a></li><li class="navelem"><a class="el" href="classv8_1_1Maybe.html">Maybe</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classv8_1_1Maybe-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">v8::Maybe&lt; T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="v8_8h_source.html">v8.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a486b608c21c8038d5019bd7d75866345"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a486b608c21c8038d5019bd7d75866345"></a>
V8_INLINE bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsNothing</b> () const </td></tr>
<tr class="separator:a486b608c21c8038d5019bd7d75866345"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc82dc945891060d312fb6fbf8fb56ae"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc82dc945891060d312fb6fbf8fb56ae"></a>
V8_INLINE bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsJust</b> () const </td></tr>
<tr class="separator:adc82dc945891060d312fb6fbf8fb56ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4959bad473c4549048c1d2271a1a73e0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4959bad473c4549048c1d2271a1a73e0"></a>
V8_INLINE T&#160;</td><td class="memItemRight" valign="bottom"><b>ToChecked</b> () const </td></tr>
<tr class="separator:a4959bad473c4549048c1d2271a1a73e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2e1c6d0bd1ab5ff8de22a312c4dbb37"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae2e1c6d0bd1ab5ff8de22a312c4dbb37"></a>
V8_WARN_UNUSED_RESULT V8_INLINE bool&#160;</td><td class="memItemRight" valign="bottom"><b>To</b> (T *out) const </td></tr>
<tr class="separator:ae2e1c6d0bd1ab5ff8de22a312c4dbb37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02b19d7fcb7744d8dba3530ef8e14c8c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a02b19d7fcb7744d8dba3530ef8e14c8c"></a>
V8_INLINE T&#160;</td><td class="memItemRight" valign="bottom"><b>FromJust</b> () const </td></tr>
<tr class="separator:a02b19d7fcb7744d8dba3530ef8e14c8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bcb5fb0d0e92a3f0cc546f11068a8df"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0bcb5fb0d0e