Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version next

...

D s
snippetBasic

Integer literal value:

ISEVEN
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
iseven('4') as: 'isFourEven'

iseven('4')

Output:  Generates the isFourEven column containing the Returns the value true for each row.

Column reference value:

ISEVEN
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextdelete row: (
iseven(errorCount))

iseven(errorCount)

Output:

...

 Returns true if the value in the errorCount column is an even number

...

D s
snippetSyntax

ISEVEN
d-codelang-syntax
RawWrangletrue
Typesyntax
showNotetrue
WrangleTextderive type:single type value:
iseven(int_value)

iseven(int_value)


ArgumentRequired?Data TypeDescription
int_valueYintegerThis value can be an Integer, a function returning an Integer, or a column reference.

...