flu_isNone Function

public function flu_isNone(L, index) result(is_None)

Arguments

Type IntentOptional Attributes Name
type(flu_State) :: L
integer :: index

Return Value logical


Calls

proc~~flu_isnone~~CallsGraph proc~flu_isnone flu_isNone interface~lua_type lua_type proc~flu_isnone->interface~lua_type

Source Code

  function flu_isNone(L, index) result(is_None)
    type(flu_State) :: L
    integer         :: index
    logical         :: is_None

    integer(kind=c_int) :: c_index

    c_index = int(index, kind = c_int)
    ! Only defined as a Macro, using lua_type:
    is_None = (lua_Type(L%state, c_index) .eq. LUA_TNONE)
  end function flu_isNone