function that changes to true when it's called ?
probably need more info on the use case tho
not so easy it has 2 possible returns, if used not invoked it returns an object of data if invoked it should return an array, both would trigger the if check you mentioned I think
Обсуждают сегодня