To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
- string value lookup
-
string array value lookup Note: for all functions that look up arrays,
~strict:true
applies only to array item conversion. With~strict:true
they will fail if an array contains a value that is not an string, while with~strict:false
it will attempt to convert values (i.e. pass~strict:false
to the accessor function). If a user supplies a single string value instead of an array, it will always be converted to a single-item array. - Integer value lookup
-
Integer array value lookup Note: for all functions that look up arrays,
~strict:true
applies only to array item conversion. With~strict:true
they will fail if an array contains a value that is not an integer, while with~strict:false
it will attempt to convert values (i.e. pass~strict:false
to the accessor function). If a user supplies a single integer value instead of an array, it will always be converted to a single-item array. - float value lookup
-
float array value lookup Note: for all functions that look up arrays,
~strict:true
applies only to array item conversion. With~strict:true
they will fail if an array contains a value that is not an float, while with~strict:false
it will attempt to convert values (i.e. pass~strict:false
to the accessor function). If a user supplies a single float value instead of an array, it will always be converted to a single-item array. - boolean value lookup
-
boolean array value lookup Note: for all functions that look up arrays,
~strict:true
applies only to array item conversion. With~strict:true
they will fail if an array contains a value that is not a boolean, while with~strict:false
it will attempt to convert values (i.e. pass~strict:false
to the accessor function). If a user supplies a single boolean value instead of an array, it will always be converted to a single-item array. - offset_datetime value lookup
-
offset_datetime array value lookup Note: for all functions that look up arrays,
~strict:true
applies only to array item conversion. With~strict:true
they will fail if an array contains a value that is not an offset datetime, while with~strict:false
it will attempt to convert values (i.e. pass~strict:false
to the accessor function). If a user supplies a single offset_datetime value instead of an array, it will always be converted to a single-item array. - local_datetime value lookup
-
local_datetime array value lookup Note: for all functions that look up arrays,
~strict:true
applies only to array item conversion. With~strict:true
they will fail if an array contains a value that is not a local datetime, while with~strict:false
it will attempt to convert values (i.e. pass~strict:false
to the accessor function). If a user supplies a single local_datetime value instead of an array, it will always be converted to a single-item array. - local_date value lookup
-
local_date array value lookup Note: for all functions that look up arrays,
~strict:true
applies only to array item conversion. With~strict:true
they will fail if an array contains a value that is not a local date, while with~strict:false
it will attempt to convert values (i.e. pass~strict:false
to the accessor function). If a user supplies a single local_date value instead of an array, it will always be converted to a single-item array. - local_time value lookup
-
local_time array value lookup Note: for all functions that look up arrays,
~strict:true
applies only to array item conversion. With~strict:true
they will fail if an array contains a value that is not a local time, while with~strict:false
it will attempt to convert values (i.e. pass~strict:false
to the accessor function). If a user supplies a single local time value instead of an array, it will always be converted to a single-item array.
Library
Module
Module type
Parameter
Class
Class type
string value lookup
val find_string : ?strict:bool -> t -> string list -> string
Looks up an string at specified path.
val find_string_exn : ?strict:bool -> t -> string list -> string
Alias for find_string
val find_string_opt : ?strict:bool -> t -> string list -> string option
Looks up an string at specified path, returns None
if path does not exist.
val find_string_result :
?strict:bool ->
t ->
string list ->
(string, string) Stdlib.result
Looks up an string at specified path, returns an Error
with a descriptive message if path does not exist or the value is neither an string nor (with ~strict:false
) a value that can be converted to string.
string array value lookup Note: for all functions that look up arrays, ~strict:true
applies only to array item conversion. With ~strict:true
they will fail if an array contains a value that is not an string, while with ~strict:false
it will attempt to convert values (i.e. pass ~strict:false
to the accessor function). If a user supplies a single string value instead of an array, it will always be converted to a single-item array.
val find_strings : ?strict:bool -> t -> string list -> string list
Looks up an array of strings at specified path.
val find_strings_exn : ?strict:bool -> t -> string list -> string list
Alias for find_strings
val find_strings_opt : ?strict:bool -> t -> string list -> string list option
Looks up an array of strings at specified path, returns None
if path does not exist.
val find_strings_result :
?strict:bool ->
t ->
string list ->
(string list, string) Stdlib.result
Looks up an array of strings at specified path, returns an Error
with a descriptive message if path does not exist or the value is neither an string or an array of strings, nor (with ~strict:false
) a value that can be converted to an array of strings.
Integer value lookup
val find_integer : ?strict:bool -> t -> string list -> toml_integer
Looks up an integer at specified path.
val find_integer_exn : ?strict:bool -> t -> string list -> toml_integer
Alias for find_integer
val find_integer_opt : ?strict:bool -> t -> string list -> toml_integer option
Looks up an integer at specified path, returns None
if path does not exist.
val find_integer_result :
?strict:bool ->
t ->
string list ->
(toml_integer, string) Stdlib.result
Looks up an integer at specified path, returns an Error
with a descriptive message if path does not exist or the value is neither an integer nor (with ~strict:false
) a value that can be converted to integer.
Integer array value lookup Note: for all functions that look up arrays, ~strict:true
applies only to array item conversion. With ~strict:true
they will fail if an array contains a value that is not an integer, while with ~strict:false
it will attempt to convert values (i.e. pass ~strict:false
to the accessor function). If a user supplies a single integer value instead of an array, it will always be converted to a single-item array.
val find_integers : ?strict:bool -> t -> string list -> toml_integer list
Looks up an array of integers at specified path.
val find_integers_exn : ?strict:bool -> t -> string list -> toml_integer list
Alias for find_integers
val find_integers_opt :
?strict:bool ->
t ->
string list ->
toml_integer list option
Looks up an array of integers at specified path, returns None
if path does not exist.
val find_integers_result :
?strict:bool ->
t ->
string list ->
(toml_integer list, string) Stdlib.result
Looks up an array of integers at specified path, returns an Error
with a descriptive message if path does not exist or the value is neither an integer or an array of integers, nor (with ~strict:false
) a value that can be converted to an array of integers.
float value lookup
val find_float : ?strict:bool -> t -> string list -> toml_float
Looks up an float at specified path.
val find_float_exn : ?strict:bool -> t -> string list -> toml_float
Alias for find_float
val find_float_opt : ?strict:bool -> t -> string list -> toml_float option
Looks up an float at specified path, returns None
if path does not exist.
val find_float_result :
?strict:bool ->
t ->
string list ->
(toml_float, string) Stdlib.result
Looks up an float at specified path, returns an Error
with a descriptive message if path does not exist or the value is neither an float nor (with ~strict:false
) a value that can be converted to float.
float array value lookup Note: for all functions that look up arrays, ~strict:true
applies only to array item conversion. With ~strict:true
they will fail if an array contains a value that is not an float, while with ~strict:false
it will attempt to convert values (i.e. pass ~strict:false
to the accessor function). If a user supplies a single float value instead of an array, it will always be converted to a single-item array.
val find_floats : ?strict:bool -> t -> string list -> toml_float list
Looks up an array of floats at specified path.
val find_floats_exn : ?strict:bool -> t -> string list -> toml_float list
Alias for find_floats
val find_floats_opt :
?strict:bool ->
t ->
string list ->
toml_float list option
Looks up an array of floats at specified path, returns None
if path does not exist.
val find_floats_result :
?strict:bool ->
t ->
string list ->
(toml_float list, string) Stdlib.result
Looks up an array of floats at specified path, returns an Error
with a descriptive message if path does not exist or the value is neither an float or an array of floats, nor (with ~strict:false
) a value that can be converted to an array of floats.
boolean value lookup
val find_boolean : ?strict:bool -> t -> string list -> bool
Looks up a boolean at specified path.
val find_boolean_exn : ?strict:bool -> t -> string list -> bool
Alias for find_boolean
val find_boolean_opt : ?strict:bool -> t -> string list -> bool option
Looks up a boolean at specified path, returns None
if path does not exist.
val find_boolean_result :
?strict:bool ->
t ->
string list ->
(bool, string) Stdlib.result
Looks up a boolean at specified path, returns an Error
with a descriptive message if path does not exist or the value is neither a boolean nor (with ~strict:false
) a value that can be converted to boolean.
boolean array value lookup Note: for all functions that look up arrays, ~strict:true
applies only to array item conversion. With ~strict:true
they will fail if an array contains a value that is not a boolean, while with ~strict:false
it will attempt to convert values (i.e. pass ~strict:false
to the accessor function). If a user supplies a single boolean value instead of an array, it will always be converted to a single-item array.
val find_booleans : ?strict:bool -> t -> string list -> bool list
Looks up an array of booleans at specified path.
val find_booleans_exn : ?strict:bool -> t -> string list -> bool list
Alias for find_booleans
val find_booleans_opt : ?strict:bool -> t -> string list -> bool list option
Looks up an array of booleans at specified path, returns None
if path does not exist.
val find_booleans_result :
?strict:bool ->
t ->
string list ->
(bool list, string) Stdlib.result
Looks up an array of booleans at specified path, returns an Error
with a descriptive message if path does not exist or the value is neither a boolean or an array of booleans, nor (with ~strict:false
) a value that can be converted to an array of booleans.
offset_datetime value lookup
Looks up an offset_datetime at specified path.
Alias for find_offset_datetime
Looks up an offset_datetime at specified path, returns None
if path does not exist.
val find_offset_datetime_result :
?strict:bool ->
t ->
string list ->
(toml_date, string) Stdlib.result
Looks up an offset_datetime at specified path, returns an Error
with a descriptive message if path does not exist or the value is neither an offset_datetime nor (with ~strict:false
) a value that can be converted to offset_datetime.
offset_datetime array value lookup Note: for all functions that look up arrays, ~strict:true
applies only to array item conversion. With ~strict:true
they will fail if an array contains a value that is not an offset datetime, while with ~strict:false
it will attempt to convert values (i.e. pass ~strict:false
to the accessor function). If a user supplies a single offset_datetime value instead of an array, it will always be converted to a single-item array.
Looks up an array of offset_datetimes at specified path.
Alias for find_offset_datetimes
Looks up an array of offset_datetimes at specified path, returns None
if path does not exist.
val find_offset_datetimes_result :
?strict:bool ->
t ->
string list ->
(toml_date list, string) Stdlib.result
Looks up an array of offset_datetimes at specified path, returns an Error
with a descriptive message if path does not exist or the value is neither an offset datetime or an array of offset datetimes, nor (with ~strict:false
) a value that can be converted to an array of offset_datetimes.
local_datetime value lookup
Looks up a local_datetime at specified path.
Alias for find_local_datetime
Looks up a local_datetime at specified path, returns None
if path does not exist.
val find_local_datetime_result :
?strict:bool ->
t ->
string list ->
(toml_date, string) Stdlib.result
Looks up a local_datetime at specified path, returns an Error
with a descriptive message if path does not exist or the value is neither a local datetime nor (with ~strict:false
) a value that can be converted to local datetime.
local_datetime array value lookup Note: for all functions that look up arrays, ~strict:true
applies only to array item conversion. With ~strict:true
they will fail if an array contains a value that is not a local datetime, while with ~strict:false
it will attempt to convert values (i.e. pass ~strict:false
to the accessor function). If a user supplies a single local_datetime value instead of an array, it will always be converted to a single-item array.
Looks up an array of local_datetimes at specified path.
Alias for find_local_datetimes
Looks up an array of local_datetimes at specified path, returns None
if path does not exist.
val find_local_datetimes_result :
?strict:bool ->
t ->
string list ->
(toml_date list, string) Stdlib.result
Looks up an array of local_datetimes at specified path, returns an Error
with a descriptive message if path does not exist or the value is neither a local datetime or an array of local datetimes, nor (with ~strict:false
) a value that can be converted to an array of local_datetimes.
local_date value lookup
Looks up a local_date at specified path.
Alias for find_local_date
Looks up a local_date at specified path, returns None
if path does not exist.
Looks up a local_date at specified path, returns an Error
with a descriptive message if path does not exist or the value is neither a local_date nor (with ~strict:false
) a value that can be converted to local_date.
local_date array value lookup Note: for all functions that look up arrays, ~strict:true
applies only to array item conversion. With ~strict:true
they will fail if an array contains a value that is not a local date, while with ~strict:false
it will attempt to convert values (i.e. pass ~strict:false
to the accessor function). If a user supplies a single local_date value instead of an array, it will always be converted to a single-item array.
Looks up an array of local_dates at specified path.
Alias for find_local_dates
Looks up an array of local_dates at specified path, returns None
if path does not exist.
val find_local_dates_result :
?strict:bool ->
t ->
string list ->
(toml_date list, string) Stdlib.result
Looks up an array of local_dates at specified path, returns an Error
with a descriptive message if path does not exist or the value is neither a local_date or an array of local_dates, nor (with ~strict:false
) a value that can be converted to an array of local_dates.
local_time value lookup
Looks up a local_time at specified path.
Alias for find_local_time
Looks up a local_time at specified path, returns None
if path does not exist.
Looks up a local_time at specified path, returns an Error
with a descriptive message if path does not exist or the value is neither a local time nor (with ~strict:false
) a value that can be converted to local_time.
local_time array value lookup Note: for all functions that look up arrays, ~strict:true
applies only to array item conversion. With ~strict:true
they will fail if an array contains a value that is not a local time, while with ~strict:false
it will attempt to convert values (i.e. pass ~strict:false
to the accessor function). If a user supplies a single local time value instead of an array, it will always be converted to a single-item array.
Looks up an array of local_times at specified path.
Alias for find_local_times
Looks up an array of local_times at specified path, returns None
if path does not exist.
val find_local_times_result :
?strict:bool ->
t ->
string list ->
(toml_date list, string) Stdlib.result
Looks up an array of local_times at specified path, returns an Error
with a descriptive message if path does not exist or the value is neither a local time or an array of local_times, nor (with ~strict:false
) a value that can be converted to an array of local times.
- string value lookup
-
string array value lookup Note: for all functions that look up arrays,
~strict:true
applies only to array item conversion. With~strict:true
they will fail if an array contains a value that is not an string, while with~strict:false
it will attempt to convert values (i.e. pass~strict:false
to the accessor function). If a user supplies a single string value instead of an array, it will always be converted to a single-item array. - Integer value lookup
-
Integer array value lookup Note: for all functions that look up arrays,
~strict:true
applies only to array item conversion. With~strict:true
they will fail if an array contains a value that is not an integer, while with~strict:false
it will attempt to convert values (i.e. pass~strict:false
to the accessor function). If a user supplies a single integer value instead of an array, it will always be converted to a single-item array. - float value lookup
-
float array value lookup Note: for all functions that look up arrays,
~strict:true
applies only to array item conversion. With~strict:true
they will fail if an array contains a value that is not an float, while with~strict:false
it will attempt to convert values (i.e. pass~strict:false
to the accessor function). If a user supplies a single float value instead of an array, it will always be converted to a single-item array. - boolean value lookup
-
boolean array value lookup Note: for all functions that look up arrays,
~strict:true
applies only to array item conversion. With~strict:true
they will fail if an array contains a value that is not a boolean, while with~strict:false
it will attempt to convert values (i.e. pass~strict:false
to the accessor function). If a user supplies a single boolean value instead of an array, it will always be converted to a single-item array. - offset_datetime value lookup
-
offset_datetime array value lookup Note: for all functions that look up arrays,
~strict:true
applies only to array item conversion. With~strict:true
they will fail if an array contains a value that is not an offset datetime, while with~strict:false
it will attempt to convert values (i.e. pass~strict:false
to the accessor function). If a user supplies a single offset_datetime value instead of an array, it will always be converted to a single-item array. - local_datetime value lookup
-
local_datetime array value lookup Note: for all functions that look up arrays,
~strict:true
applies only to array item conversion. With~strict:true
they will fail if an array contains a value that is not a local datetime, while with~strict:false
it will attempt to convert values (i.e. pass~strict:false
to the accessor function). If a user supplies a single local_datetime value instead of an array, it will always be converted to a single-item array. - local_date value lookup
-
local_date array value lookup Note: for all functions that look up arrays,
~strict:true
applies only to array item conversion. With~strict:true
they will fail if an array contains a value that is not a local date, while with~strict:false
it will attempt to convert values (i.e. pass~strict:false
to the accessor function). If a user supplies a single local_date value instead of an array, it will always be converted to a single-item array. - local_time value lookup
-
local_time array value lookup Note: for all functions that look up arrays,
~strict:true
applies only to array item conversion. With~strict:true
they will fail if an array contains a value that is not a local time, while with~strict:false
it will attempt to convert values (i.e. pass~strict:false
to the accessor function). If a user supplies a single local time value instead of an array, it will always be converted to a single-item array.