Type System
Coerce to BigDecimal
functionclojure.core
Coerce to BigInt
functionclojure.core
Coerce to BigInteger
functionclojure.core
Coerce to boolean
functionclojure.core
Coerce to byte
functionclojure.core
Returns the denominator part of a Ratio.
functionclojure.core
Coerce to double
functionclojure.core
Coerce to float
functionclojure.core
Coerce to int
functionclojure.core
Coerce to long
functionclojure.core
Coerce to Number
functionclojure.core
Returns the numerator part of a Ratio.
functionclojure.core
Parse a string containing an RFC3339-like like timestamp. The function new-instant is called with the following argumen...
functionclojure.instant
returns the rational value of num
functionclojure.core
To read an instant as a java.util.Calendar, bind *data-readers* to a map with this var as the value for the 'inst key. ...
functionclojure.instant
To read an instant as a java.util.Date, bind *data-readers* to a map with this var as the value for the 'inst key. The t...
functionclojure.instant
To read an instant as a java.sql.Timestamp, bind *data-readers* to a map with this var as the value for the 'inst key. T...
functionclojure.instant
Coerce to short
functionclojure.core
Coerce to byte. Subject to rounding or truncation.
functionclojure.core
Coerce to char. Subject to rounding or truncation.
functionclojure.core
Coerce to double. Subject to rounding.
functionclojure.core
Coerce to float. Subject to rounding.
functionclojure.core
Coerce to int. Subject to rounding or truncation.
functionclojure.core
Coerce to long. Subject to rounding or truncation.
functionclojure.core
Coerce to short. Subject to rounding or truncation.
functionclojure.core
Return a function which constructs an instant by calling constructor after first validating that those arguments are in ...
functionclojure.instant
General
16Returns the immediate and indirect parents of tag, either via a Java type inheritance relationship or a relationship e...
functionclojure.core
Creates a new Java interface with the given name and method sigs. The method return types and parameter types may be s...
macroclojure.core
Creates and installs a new method of multimethod associated with dispatch-value.
macroclojure.core
Creates a new multimethod with the associated dispatch function. The docstring and attr-map are optional. Options a...
macroclojure.core
A protocol is a named set of named methods and their signatures: (defprotocol AProtocolName ;optional doc string ...
macroclojure.core
Establishes a parent/child relationship between parent and tag. Parent must be a namespace-qualified symbol or keyword...
functionclojure.core
Returns the immediate and indirect children of tag, through a relationship established via derive. h must be a hierarc...
functionclojure.core
Implementations of protocol methods can be provided using the extend construct: (extend AType AProtocol {:fo...
functionclojure.core
Useful when you want to provide several implementations of the same protocol all at once. Takes a single protocol and ...
macroclojure.core
A macro that expands into an extend call. Useful when you are supplying the definitions explicitly inline, extend-type...
macroclojure.core
Given a multimethod and a dispatch value, returns the dispatch fn that would apply to that value, or nil if none apply...
functionclojure.core
Creates a hierarchy object for use with derive, isa? etc.
functionclojure.core
Given a multimethod, returns a map of dispatch values -> dispatch fns
functionclojure.core
Returns the immediate parents of tag, either via a Java type inheritance relationship or a relationship established vi...
functionclojure.core
Causes the multimethod to prefer matches of dispatch-val-x over dispatch-val-y when there is a conflict
functionclojure.core
Removes a parent/child relationship between parent and tag. h must be a hierarchy obtained from make-hierarchy, if not...
functionclojure.core
Returns true if num is NaN, else false
functionclojure.core
Returns true given any argument.
functionclojure.core
Returns true if coll implements Associative
functionclojure.core
Returns the immediate superclass and direct interfaces of c, if any
functionclojure.core
Return true if x is a Boolean
functionclojure.core
Returns true if all of the vars provided as arguments have any bound value, root or thread-local. Implies that deref'...
functionclojure.core
Return true if x is a byte array
functionclojure.core
Return true if x is a Character
functionclojure.core
- function
clojure.core
Returns the Class of x
functionclojure.core
Returns true if x is an instance of Class
functionclojure.core
Returns true if coll implements count in constant time
functionclojure.core
Returns true if n is a BigDecimal
functionclojure.core
Return true if x is a Double
functionclojure.core
Returns true if n is even, throws an exception if n is not an integer
functionclojure.core
Returns true if atype extends protocol
functionclojure.core
Returns true if x is the value false, false otherwise.
functionclojure.core
Returns true if n is a floating point number
functionclojure.core
Returns true if x implements Fn, i.e. is an object created via fn.
functionclojure.core
Return true if x is a symbol or keyword
functionclojure.core
Tests if 2 arguments are the same object
functionclojure.core
Returns true if x implements IFn. Note that many data structures (e.g. sets and maps) implement IFn
functionclojure.core
Return true if coll implements Indexed, indicating efficient lookup by index
functionclojure.core
Returns true if num is negative or positive infinity, else false
functionclojure.core
Return true if x satisfies Inst
functionclojure.core
Evaluates x and tests if it is an instance of the class c. Returns true or false
functionclojure.core
Return true if x is a fixed precision integer
functionclojure.core
Returns true if n is an integer
functionclojure.core
Returns true if (= child parent), or child is directly or indirectly derived from parent, either via a Java type inher...
functionclojure.core
Return true if x is a Keyword
functionclojure.core
Returns true if x implements IPersistentList
functionclojure.core
Return true if x is a map entry
functionclojure.core
Return true if x implements IPersistentMap
functionclojure.core
Return true if x is a non-negative fixed precision integer
functionclojure.core
Return true if x is a negative fixed precision integer
functionclojure.core
Returns true if num is less than zero, else false
functionclojure.core
Returns true if x is nil, false otherwise.
functionclojure.core
Returns true if x is a Number
functionclojure.core
Returns true if n is odd, throws an exception if n is not an integer
functionclojure.core
Return true if x is a positive fixed precision integer
functionclojure.core
Returns true if num is greater than zero, else false
functionclojure.core
Return true if x is a symbol or keyword with a namespace
functionclojure.core
Return true if x is a keyword with a namespace
functionclojure.core
Return true if x is a symbol with a namespace
functionclojure.core
Returns true if n is a Ratio
functionclojure.core
Returns true if n is a rational number
functionclojure.core
Returns true if a value has been produced for a promise, delay, future or lazy sequence.
functionclojure.core
Returns true if x is a record
functionclojure.core
Returns true if coll implements Reversible
functionclojure.core
Returns true if x satisfies the protocol
functionclojure.core
Return true if x implements ISeq
functionclojure.core
Return true if the seq function is supported for x
functionclojure.core
Returns true if coll implements Sequential
functionclojure.core
Returns true if x implements IPersistentSet
functionclojure.core
Return true if x is a symbol or keyword without a namespace
functionclojure.core
Return true if x is a keyword without a namespace
functionclojure.core
Return true if x is a symbol without a namespace
functionclojure.core
Returns true if x is not nil, false otherwise.
functionclojure.core
Returns true if coll implements Sorted
functionclojure.core
Returns true if s names a special form
functionclojure.core
Return true if x is a String
functionclojure.core
Returns the immediate and indirect superclasses and interfaces of c, if any
functionclojure.core
Return true if x is a Symbol
functionclojure.core
Returns true if all of the vars provided as arguments have thread-local bindings. Implies that set!'ing the provided ...
functionclojure.core
Returns true if x is the value true, false otherwise.
functionclojure.core
Returns the :type metadata of x, or its Class if none
functionclojure.core
Return true if x is a java.net.URI
functionclojure.core
Return true if x is a java.util.UUID
functionclojure.core
Returns true if v is of type clojure.lang.Var
functionclojure.core
Return true if x implements IPersistentVector
functionclojure.core
Returns true if x is a volatile.
functionclojure.core
Returns true if num is zero, else false
functionclojure.core