Type conversion and detection.
Type conversion and detection.
(boolean-array? arg)
Returns true is the arg is a boolean array, else false.
Returns true is the arg is a boolean array, else false.
(byte-array->str arg)
Converts a byte array to a String using the UTF-8 Charset
Converts a byte array to a String using the UTF-8 Charset
(byte-array? arg)
Returns true is the arg is a byte array, else false.
Returns true is the arg is a byte array, else false.
(byte? arg)
Returns true is the arg is a Byte, else false.
Returns true is the arg is a Byte, else false.
(char-array? arg)
Returns true is the arg is a char array, else false.
Returns true is the arg is a char array, else false.
(character? arg)
Returns true is the arg is a Character, else false.
Returns true is the arg is a Character, else false.
(double-array? arg)
Returns true is the arg is a double array, else false.
Returns true is the arg is a double array, else false.
(double? arg)
Returns true is the arg is a Double, else false.
Returns true is the arg is a Double, else false.
(float-array? arg)
Returns true is the arg is a float array, else false.
Returns true is the arg is a float array, else false.
(float? arg)
Returns true is the arg is a Float, else false.
Returns true is the arg is a Float, else false.
(int-array? arg)
Returns true is the arg is a int array, else false.
Returns true is the arg is a int array, else false.
(integer? arg)
Returns true is the arg is a Integer, else false.
Returns true is the arg is a Integer, else false.
(long-array? arg)
Returns true is the arg is a long array, else false.
Returns true is the arg is a long array, else false.
(long? arg)
Returns true is the arg is a Long, else false.
Returns true is the arg is a Long, else false.
(object-array? arg)
Returns true is the arg is a object array, else false.
Returns true is the arg is a object array, else false.
(short-array? arg)
Returns true is the arg is a short array, else false.
Returns true is the arg is a short array, else false.
(short? arg)
Returns true is the arg is a Short, else false.
Returns true is the arg is a Short, else false.
(str->byte-array arg)
Converts a String to a byte array using the UTF-8 Charset
Converts a String to a byte array using the UTF-8 Charset
(within-bounds-byte-unsigned? val)
Inputs: [val :- s/Int] Returns: s/Bool
Returns true if val fits within legal range for a byte (unsigned).
Inputs: [val :- s/Int] Returns: s/Bool Returns true if val fits within legal range for a byte (unsigned).
(within-bounds-byte? val)
Inputs: [val :- s/Int] Returns: s/Bool
Returns true if val fits within legal range for a byte (signed).
Inputs: [val :- s/Int] Returns: s/Bool Returns true if val fits within legal range for a byte (signed).
(within-bounds-integer-unsigned? val)
Inputs: [val :- s/Int] Returns: s/Bool
Returns true if val fits within legal range for a integer (unsigned).
Inputs: [val :- s/Int] Returns: s/Bool Returns true if val fits within legal range for a integer (unsigned).
(within-bounds-integer? val)
Inputs: [val :- s/Int] Returns: s/Bool
Returns true if val fits within legal range for a integer (signed).
Inputs: [val :- s/Int] Returns: s/Bool Returns true if val fits within legal range for a integer (signed).
(within-bounds-long-unsigned? val)
Inputs: [val :- s/Int] Returns: s/Bool
Returns true if val fits within legal range for a long (unsigned).
Inputs: [val :- s/Int] Returns: s/Bool Returns true if val fits within legal range for a long (unsigned).
(within-bounds-long? val)
Inputs: [val :- s/Int] Returns: s/Bool
Returns true if val fits within legal range for a long (signed).
Inputs: [val :- s/Int] Returns: s/Bool Returns true if val fits within legal range for a long (signed).
(within-bounds-short-unsigned? val)
Inputs: [val :- s/Int] Returns: s/Bool
Returns true if val fits within legal range for a short (unsigned).
Inputs: [val :- s/Int] Returns: s/Bool Returns true if val fits within legal range for a short (unsigned).
(within-bounds-short? val)
Inputs: [val :- s/Int] Returns: s/Bool
Returns true if val fits within legal range for a short (signed).
Inputs: [val :- s/Int] Returns: s/Bool Returns true if val fits within legal range for a short (signed).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close