day04_docheck: Function that generalizes 2 types of checks using binary...

Description Usage Arguments

View source: R/day04.R

Description

function that folds outcomes to say whether check passes or not

Usage

1
day04_docheck(number, check_fun, fold_fun)

Arguments

number

value to analyze

check_fun

function to apply to check values

fold_fun

function to apply to fold results of check


EvgenyPetrovsky/aoc2019 documentation built on Jan. 9, 2020, 2:40 a.m.