Homec4science

Check if array values are instances of something

Authored by vrana <jakubv@fb.com> on Mar 28 2012, 20:11.

Description

Check if array values are instances of something

Summary:
The main motivation for this change is that I sometimes dig down to some code and I wonder what's the type of a passed array.
It also promotes strong typing.

Test Plan:
Display diff with invalid Remarkup rule.
Fix it.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D2042

Details

Committed
vrana <jakubv@fb.com>Mar 29 2012, 02:26
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUcc623f2f2177: Improve phutil_console_wrap()'s ability to deal with ANSI color codes
Branches
Unknown
Tags
Unknown

Event Timeline

vrana <jakubv@fb.com> committed rPHU7353188656c2: Check if array values are instances of something (authored by vrana <jakubv@fb.com>).Mar 29 2012, 02:26