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:

ISODD
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
isodd('3') as: 'isThreeOdd'

isodd('3')

Output:

...

Returns the value true

...

.

Column reference value:

ISODD
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value: (
isodd(countStudents)) as:'missingStudent'

isodd(countStudents)

Output: If the value in the countStudents column is an odd number, then

...

return true

...

D s
snippetSyntax

ISODD
d-codelang-syntax
RawWrangletrue
Typesyntax
showNotetrue
WrangleTextderive type:single value:
isodd(int_value)

isodd(int_value)


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

D s lang notes

int_value

Name of the columns, expressions, or literals to compare.

...