#Types and filter method

5 messages · Page 1 of 1 (latest)

pulsar estuary
#

you need to write a type predicate function for that

#

!hb type predicates

lapis cloudBOT
pulsar estuary
#

the basic idea is that in most cases, .filter just removes some elements from an array
but the kind of elements stays the same
so .filter does not change the type, what goes in goes out

#

you need to change that