The Hack Standard Library
Function Reference
- C\any
- C\contains
- C\contains_key
- C\count
- C\every
- C\find
- C\find_key
- C\findx
- C\first
- C\first_async
- C\first_key
- C\first_keyx
- C\firstx
- C\firstx_async
- C\is_empty
- C\is_sorted
- C\is_sorted_by
- C\last
- C\last_key
- C\last_keyx
- C\lastx
- C\nfirst
- C\onlyx
- C\pop_back
- C\pop_backx
- C\pop_front
- C\pop_frontx
- C\reduce
- C\reduce_with_key
- Dict\associate
- Dict\cast_clear_legacy_array_mark
- Dict\chunk
- Dict\count_values
- Dict\diff_by_key
- Dict\drop
- Dict\equal
- Dict\fill_keys
- Dict\filter
- Dict\filter_async
- Dict\filter_keys
- Dict\filter_nulls
- Dict\filter_with_key
- Dict\filter_with_key_async
- Dict\flatten
- Dict\flip
- Dict\from_async
- Dict\from_entries
- Dict\from_keys
- Dict\from_keys_async
- Dict\from_values
- Dict\group_by
- Dict\map
- Dict\map_async
- Dict\map_keys
- Dict\map_with_key
- Dict\map_with_key_async
- Dict\merge
- Dict\partition
- Dict\partition_with_key
- Dict\pull
- Dict\pull_with_key
- Dict\reverse
- Dict\select_keys
- Dict\shuffle
- Dict\sort
- Dict\sort_by
- Dict\sort_by_key
- Dict\take
- Dict\unique
- Dict\unique_by
- File\leaky_temporary_file
- File\open_read_only
- File\open_read_only_nd
- File\open_read_write
- File\open_read_write_nd
- File\open_write_only
- File\open_write_only_nd
- File\temporary_file
- IO\pipe
- IO\pipe_nd
- IO\request_error
- IO\request_errorx
- IO\request_input
- IO\request_output
- Keyset\chunk
- Keyset\diff
- Keyset\drop
- Keyset\equal
- Keyset\filter
- Keyset\filter_async
- Keyset\filter_nulls
- Keyset\filter_with_key
- Keyset\flatten
- Keyset\from_async
- Keyset\intersect
- Keyset\keys
- Keyset\map
- Keyset\map_async
- Keyset\map_with_key
- Keyset\partition
- Keyset\partition_async
- Keyset\sort
- Keyset\take
- Keyset\union
- Legacy_FIXME\cast_for_arithmetic
- Legacy_FIXME\cast_for_exponent
- Legacy_FIXME\cmp
- Legacy_FIXME\coerce_possibly_invalid_str_replace_pairs
- Legacy_FIXME\decrement
- Legacy_FIXME\eq
- Legacy_FIXME\gt
- Legacy_FIXME\gte
- Legacy_FIXME\increment
- Legacy_FIXME\int_cast_for_switch
- Legacy_FIXME\lt
- Legacy_FIXME\lte
- Legacy_FIXME\neq
- Legacy_FIXME\optional_arraykey_to_int_cast_for_switch
- Legacy_FIXME\optional_num_to_int_cast_for_switch
- Legacy_FIXME\split_with_possibly_negative_limit
- Legacy_FIXME\string_cast_for_basic_switch
- Legacy_FIXME\string_cast_for_switch
- Locale\bytes
- Locale\c
- Locale\create
- Locale\from_environment
- Locale\get_native
- Locale\modified
- Locale\set_native
- Math\abs
- Math\almost_equals
- Math\base_convert
- Math\ceil
- Math\cos
- Math\exp
- Math\floor
- Math\from_base
- Math\int_div
- Math\is_nan
- Math\log
- Math\max
- Math\max_by
- Math\maxva
- Math\mean
- Math\median
- Math\min
- Math\min_by
- Math\minva
- Math\round
- Math\sin
- Math\sqrt
- Math\sum
- Math\sum_float
- Math\tan
- Math\to_base
- OS\accept
- OS\bind
- OS\close
- OS\connect
- OS\fcntl
- OS\flock
- OS\ftruncate
- OS\getpeername
- OS\getsockname
- OS\inet_ntop
- OS\inet_ntop_inet
- OS\inet_ntop_inet6
- OS\inet_pton
- OS\inet_pton_inet
- OS\inet_pton_inet6
- OS\isatty
- OS\listen
- OS\lseek
- OS\mkdtemp
- OS\mkostemp
- OS\mkostemps
- OS\mkstemp
- OS\mkstemps
- OS\open
- OS\pipe
- OS\posix_spawn
- OS\posix_spawnp
- OS\read
- OS\socket
- OS\stderr
- OS\stdin
- OS\stdout
- OS\ttyname
- OS\write
- PseudoRandom\float
- PseudoRandom\int
- PseudoRandom\string
- Regex\every_match
- Regex\first_match
- Regex\matches
- Regex\replace
- Regex\replace_with
- Regex\split
- Regex\to_string
- SecureRandom\float
- SecureRandom\int
- SecureRandom\string
- Str\capitalize
- Str\capitalize_l
- Str\capitalize_words
- Str\capitalize_words_l
- Str\chunk
- Str\chunk_l
- Str\compare
- Str\compare_ci
- Str\compare_ci_l
- Str\compare_l
- Str\contains
- Str\contains_ci
- Str\contains_ci_l
- Str\contains_l
- Str\ends_with
- Str\ends_with_ci
- Str\ends_with_ci_l
- Str\ends_with_l
- Str\format
- Str\format_l
- Str\format_number
- Str\is_empty
- Str\join
- Str\length
- Str\length_l
- Str\lowercase
- Str\lowercase_l
- Str\pad_left
- Str\pad_left_l
- Str\pad_right
- Str\pad_right_l
- Str\repeat
- Str\replace
- Str\replace_ci
- Str\replace_ci_l
- Str\replace_every
- Str\replace_every_ci
- Str\replace_every_ci_l
- Str\replace_every_l
- Str\replace_every_nonrecursive
- Str\replace_every_nonrecursive_ci
- Str\replace_every_nonrecursive_ci_l
- Str\replace_every_nonrecursive_l
- Str\replace_l
- Str\reverse
- Str\reverse_l
- Str\search
- Str\search_ci
- Str\search_ci_l
- Str\search_l
- Str\search_last
- Str\search_last_l
- Str\slice
- Str\slice_l
- Str\splice
- Str\splice_l
- Str\split
- Str\split_l
- Str\starts_with
- Str\starts_with_ci
- Str\starts_with_ci_l
- Str\starts_with_l
- Str\strip_prefix
- Str\strip_prefix_l
- Str\strip_suffix
- Str\strip_suffix_l
- Str\to_int
- Str\trim
- Str\trim_l
- Str\trim_left
- Str\trim_left_l
- Str\trim_right
- Str\trim_right_l
- Str\uppercase
- Str\uppercase_l
- TCP\connect_async
- TCP\connect_nd_async
- Unix\connect_async
- Unix\connect_nd_async
- Vec\cast_clear_legacy_array_mark
- Vec\chunk
- Vec\concat
- Vec\diff
- Vec\diff_by
- Vec\drop
- Vec\fill
- Vec\filter
- Vec\filter_async
- Vec\filter_nulls
- Vec\filter_with_key
- Vec\flatten
- Vec\from_async
- Vec\intersect
- Vec\keys
- Vec\map
- Vec\map_async
- Vec\map_with_key
- Vec\partition
- Vec\partition_async
- Vec\range
- Vec\reverse
- Vec\sample
- Vec\shuffle
- Vec\slice
- Vec\sort
- Vec\sort_by
- Vec\take
- Vec\unique
- Vec\unique_by
- Vec\zip