aboutsummaryrefslogtreecommitdiff
path: root/tests/function/name/testscript
AgeCommit message (Collapse)AuthorFilesLines
2022-09-23Add $is_a(<name>, <target-type>), $filter[_out](<names>, <target-types>) ↵Boris Kolpackov1-0/+36
functions $is_a() returns true if the <name>'s target type is-a <target-type>. Note that this is a dynamic type check that takes into account target type inheritance. $filter[_out]() return names with target types which are-a (filter) or not are-a (filter_out) one of <target-types>. In particular, these functions are useful for filtering prerequisite targets ($<) in ad hoc recipes and rules.
2021-11-04Add $size() function to get size of sequence (names, strings, etc)Boris Kolpackov1-0/+18