(* ?ctx & args)
Returns product of all the numbers in the sequence.
Returns product of all the numbers in the sequence.
(- ?ctx & args)
Returns difference of all the numbers in the sequence with the first number as the minuend.
Returns difference of all the numbers in the sequence with the first number as the minuend.
(/ ?ctx & args)
If no denominators are supplied, returns 1/numerator, else returns numerator divided by all of the denominators. Takes a sequence
If no denominators are supplied, returns 1/numerator, else returns numerator divided by all of the denominators. Takes a sequence
(< ?ctx & args)
Returns non-nil if nums are in monotonically increasing order, otherwise false.
Returns non-nil if nums are in monotonically increasing order, otherwise false.
(<= ?ctx & args)
Returns non-nil if nums are in monotonically non-decreasing order, otherwise false.
Returns non-nil if nums are in monotonically non-decreasing order, otherwise false.
(== ?ctx & args)
Return true if arguments in sequence equal each other.
Return true if arguments in sequence equal each other.
(> ?ctx & args)
Returns non-nil if nums are in monotonically decreasing order, otherwise false.
Returns non-nil if nums are in monotonically decreasing order, otherwise false.
(>= ?ctx & args)
Returns non-nil if nums are in monotonically non-increasing order, otherwise false.
Returns non-nil if nums are in monotonically non-increasing order, otherwise false.
(?o ?ctx)
Gets the object of an predicate from the current subject.
Gets the object of an predicate from the current subject.
(?p ?ctx)
(?p ?ctx additional-select)
Gets current predicate predicates
Gets current predicate predicates
(?pO ?ctx)
Gets the most recent object of an predicate, as of the previous block
Gets the most recent object of an predicate, as of the previous block
(?s ?ctx)
(?s ?ctx additional-select)
Gets current subject.
Gets current subject.
(and ?ctx & args)
Returns true if all in a sequence are true, else returns false
Returns true if all in a sequence are true, else returns false
(boolean ?ctx x)
Coerce to boolean. Everything except false and nil is true.
Coerce to boolean. Everything except false and nil is true.
(contains? ?ctx coll key)
(count ?ctx coll)
Returns the number of items in the collection. (count nil) returns 0. Also works on strings, arrays, and Java Collections and Maps
Returns the number of items in the collection. (count nil) returns 0. Also works on strings, arrays, and Java Collections and Maps
(dec ?ctx n)
Decrements any number (or nil/null) by 1.
Decrements any number (or nil/null) by 1.
(empty? ?ctx arg)
True if empty or #{nil}, else false.
True if empty or #{nil}, else false.
(extract v)
Resolves a value if a channel. Must be used inside of a go-block.
Resolves a value if a channel. Must be used inside of a go-block.
(flakes ?ctx)
Gets the flakes from the current subject.
Gets the flakes from the current subject.
(get ?ctx subject pred)
Gets a value from an subject.
Gets a value from an subject.
(get-all ?ctx subject path)
Follows an subject down the provided path and returns a set of all matching subjects.
Follows an subject down the provided path and returns a set of all matching subjects.
(get-in ?ctx subject path)
(hash-set ?ctx & args)
(inc ?ctx n)
Increments any number (or nil/null) by 1.
Increments any number (or nil/null) by 1.
(max ?ctx & args)
Gets max value from a sequence.
Gets max value from a sequence.
(max-pred-val ?ctx pred-name)
Finds the maximum predicate value.
Finds the maximum predicate value.
(min ?ctx & args)
Gets min value from a sequence.
Gets min value from a sequence.
(mod ?ctx n d)
Modulus of num and div. Truncates toward negative infinity.
Modulus of num and div. Truncates toward negative infinity.
(not ?ctx arg)
Takes a boolean, true returns false, false returns true.
Takes a boolean, true returns false, false returns true.
(not= ?ctx & args)
Returns true if two (or more) values are not equal.
Returns true if two (or more) values are not equal.
(now ?ctx)
Returns current epoch milliseconds on the executing machine.
Returns current epoch milliseconds on the executing machine.
(nth ?ctx coll key)
Returns the nth item in a collection
Returns the nth item in a collection
(objF ?ctx)
Gets the summed object of all false flakes
Gets the summed object of all false flakes
(objT ?ctx)
Gets the summed object of all true flakes
Gets the summed object of all true flakes
(or ?ctx & args)
Returns true if any in the sequence are true, else returns false
Returns true if any in the sequence are true, else returns false
(query ?ctx query-map)
(query ?ctx select from where block limit)
Executes a query
Executes a query
(quot ?ctx n d)
Quot[ient] of dividing numerator by denominator.
Quot[ient] of dividing numerator by denominator.
(rand ?ctx max)
(rand ?ctx max seed)
Returns a random number, seed is either provided or a we use the txn instant
Returns a random number, seed is either provided or a we use the txn instant
(re-find ?ctx pattern string)
Execute a re-find operation of regex pattern on provided string.
Execute a re-find operation of regex pattern on provided string.
(relationship? ?ctx startSubject path endSubject)
Determines whether there is a relationship between two subjects
Determines whether there is a relationship between two subjects
(rem ?ctx n d)
Remainder of dividing numerator by denominator.
Remainder of dividing numerator by denominator.
(subs ?ctx args)
Returns substring of a string with a start and optional end integer. Returned string is inclusive of start integer and exclusive of end integer.
Returns substring of a string with a start and optional end integer. Returned string is inclusive of start integer and exclusive of end integer.
(uuid ?ctx)
Returns a random number, seed is either provided or a we use the txn instant
Returns a random number, seed is either provided or a we use the txn instant
(valid-email? ?ctx email)
Determines whether an email is valid, based on its pattern
Determines whether an email is valid, based on its pattern
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close