typeof to cup.is.type
add is validation
update