From 5b301facb5b47af14afbfa7b228600106c7eb352 Mon Sep 17 00:00:00 2001 From: Hunter Goldstein Date: Tue, 20 Oct 2020 09:26:26 -0700 Subject: [PATCH] Add docblock to `is_any_array` Reviewed By: viratyosin Differential Revision: D24421256 fbshipit-source-id: 759e6ec0086cbb1ae39fabc87e69e768f5056a79 --- hphp/hack/hhi/functions.hhi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hphp/hack/hhi/functions.hhi b/hphp/hack/hhi/functions.hhi index a6e57adc045..f0798c08a6a 100644 --- a/hphp/hack/hhi/functions.hhi +++ b/hphp/hack/hhi/functions.hhi @@ -44,6 +44,11 @@ function is_vec(<<__MaybeMutable>> mixed $arg): bool; function is_dict(<<__MaybeMutable>> mixed $arg): bool; <<__Pure>> function is_keyset(<<__MaybeMutable>> mixed $arg): bool; + +/** + * @returns True if `$arg` is a `varray`, `darray`, `dict`, `vec`, or `keyset`. + * Otherwise returns false. + */ <<__Pure>> function is_any_array(<<__MaybeMutable>> mixed $arg): bool; } -- 2.11.4.GIT