/** * Returns `true` if the array contains no elements, otherwise returns `false`. * * @tsplus getter ImmutableArray isEmpty */ export function isEmpty(self: ImmutableArray): boolean { return self.array.length === 0 }