---
id: itomlnode
title: ITomlNode
sidebar_label: ITomlNode
---
A toml node.
## Methods
### `Method NodeType:ETomlNodeType()`
Returns the type of this node.
### `Method IsTable:Int()`
Returns [True](../../../brl/brl.blitz/#true) if the node is a table.
### `Method IsArray:Int()`
Returns [True](../../../brl/brl.blitz/#true) if the node is an array.
### `Method IsString:Int()`
Returns [True](../../../brl/brl.blitz/#true) if the node is a String.
### `Method IsInteger:Int()`
Returns [True](../../../brl/brl.blitz/#true) if the node is an integer.
### `Method IsFloatingPoint:Int()`
Returns [True](../../../brl/brl.blitz/#true) if the node is a floating point number.
### `Method IsBoolean:Int()`
Returns [True](../../../brl/brl.blitz/#true) if the node is a boolean.
### `Method IsDate:Int()`
Returns [True](../../../brl/brl.blitz/#true) if the node is a date.
### `Method IsTime:Int()`
Returns [True](../../../brl/brl.blitz/#true) if the node is a time.
### `Method IsDateTime:Int()`
Returns [True](../../../brl/brl.blitz/#true) if the node is a date time.
### `Method AsTable:TTomlTable()`
Returns this node as a table, or throws a TUnsupportedNodeError.
### `Method AsArray:TTomlArray()`
Returns this node as an array, or throws a TUnsupportedNodeError.
### `Method AsString:String()`
Returns this node as a [String](../../../brl/brl.blitz/#string), or throws a TUnsupportedNodeError.
### `Method AsLong:Long()`
Returns this node as a [Long](../../../brl/brl.blitz/#long), or throws a TUnsupportedNodeError.
### `Method AsDouble:Double()`
Returns this node as a [Double](../../../brl/brl.blitz/#double), or throws a TUnsupportedNodeError.
### `Method AsBoolean:Int()`
Returns this node as a boolean, or throws a TUnsupportedNodeError.
### `Method AsDate:STomlDate()`
Returns this node as a date, or throws a TUnsupportedNodeError.
### `Method AsTime:STomlTime()`
Returns this node as a time, or throws a TUnsupportedNodeError.
### `Method AsDateTime:STomlDateTime()`
Returns this node as a date time, or throws a TUnsupportedNodeError.