struct Xls::Worksheet::Cell::Any

Overview

See http://sc.openoffice.org/excelfileformat.pdf, page 91

Included Modules

Defined in:

xls/spreadsheet/worksheet/cell.cr

Instance Method Summary

Instance methods inherited from module Xls::InspectableMethods

inspect(io : IO) : Nil inspect, to_s(io : IO) : Nil to_s

Instance Method Detail

def as_bool : Bool #

Checks that the underlying value is Bool, and returns its value Raises otherwise.


[View source]
def as_bool? : Bool? #

Checks that the underlying value is Bool, and returns its value Returns nil otherwise.


[View source]
def as_cell_error : CellError #

Checks that the underlying value is Xls::Worksheet::Cell::CellError, and returns its value Raises otherwise.


[View source]
def as_cell_error? : CellError? #

Checks that the underlying value is Xls::Worksheet::Cell::CellError, and returns its value Returns nil otherwise.


[View source]
def as_f : Float64 #

Checks that the underlying value is Float64, and returns its value Raises otherwise.


[View source]
def as_f? : Float64? #

Checks that the underlying value is Float64, and returns its value Returns nil otherwise.


[View source]
def as_nil : Nil #

Checks that the underlying value is Nil, and returns nil Raises otherwise.


[View source]
def as_s : String #

Checks that the underlying value is String, and returns its value Raises otherwise.


[View source]
def as_s? : String? #

Checks that the underlying value is String, and returns its value Returns nil otherwise.


[View source]
def raw : Bool | Float64 | String | Xls::Worksheet::Cell::CellError | Nil #

[View source]