Interview Question : gr.next(),gr.hasNext(),gr._next() Difference in

Опубликовано: 22 Март 2023
на канале: ServiceNow Guy
924
16

Hello Everyone,
In this video we will learn about difference between hasNext(),next(),_next() in servicenow
hasNext() : hasNext() method returns true if iterator have more elements.

next() : next() method returns the next element and also moves to the next element.

_next() : is method similar to next() in GlideRecord.

Moves to the next record in the GlideRecord. Provides the same functionality as next(), intended to be used in cases where the GlideRecord has a column named next.

#servicenowdeveloper #servicenowjobs
#interview
‪@ServiceNowCommunity‬ ‪@ServiceNowDevProgram‬ ‪@servicenow‬