Libraries
Search…
Interface
Class: DataInt. DataInt subclasses Object.

Constants

Attributes

Method Signatures

self.types()

1
def self.types()
2
end
Copied!
Gets the DataTypes. Returns the TYPES reference Array.

self.instance?(obj = nil)

1
def self.instance?(obj = nil)
2
end
Copied!
Predicate. Verifies a DataType type instance. Takes any identifier. Returns true in the case the argument is a Numeric, FalseClass, Symbol, TrueClass, or NilClass instance. false otherwise.

self.type?(type = nil)

1
def self.type?(type = nil)
2
end
Copied!
Predicate. Verifies an identifier is a DataType. Takes an identifier argument. Returns true in the case the argument is Numeric, FalseClass, Symbol, TrueClass, or NilClass, or one of their descendants. false otherwise.
Last modified 1yr ago